40 {
"$Id: DAS.cc 24281 2011-03-09 00:22:31Z jimg $"
86 append_container(attr,
www2id(name));
104 return _container_name ;
118 if( cn != _container_name )
129 _container_name = cn;
167 d_container->
erase() ;
273 FILE *in = fopen(fname.c_str(),
"r");
281 int res = fclose(in);
283 DBG(cerr <<
"DAS::parse - Failed to close file " << (
void *)in << endl ;) ;
301 FILE *in = fdopen(_dup(fd),
"r");
303 FILE *in = fdopen(dup(fd),
"r");
307 throw InternalErr(__FILE__, __LINE__,
"Could not access file.");
312 int res = fclose(in);
314 DBG(cerr <<
"DAS::parse(fd) - Failed to close " << (
void *)in << endl ;) ;
330 throw InternalErr(__FILE__, __LINE__,
"Null input stream.");
338 bool status =
dasparse((
void *) & arg) == 0;
344 if (!status || !arg.
status()) {
367 fprintf(out,
"Attributes {\n") ;
369 d_attrs.
print(out,
" ", dereference);
371 fprintf(out,
"}\n") ;
389 out <<
"Attributes {\n" ;
391 d_attrs.
print(out,
" ", dereference);
407 << (
void *)
this <<
")" << endl ;