43 using namespace libdap ;
108 const string &real_name,
115 string::size_type stopat = real_name.length() - 1 ;
116 while( real_name[stopat] ==
'/' )
120 string new_name = real_name.substr( 0, stopat + 1 ) ;
123 string::size_type slash = new_name.rfind(
"/" ) ;
124 if( slash != string::npos )
126 basename = new_name.substr( slash+1, new_name.length() - slash ) ;
130 basename = new_name ;
134 if( !_utils->
include( basename ) )
136 string s =
"Attempting to create a container with real name "
137 + real_name +
" which is on the exclude list" ;
143 string new_type = type ;
149 for( ; i != ie && !done; i++ )
155 if( reg_expr.match( real_name.c_str(), real_name.length() ) ==
156 static_cast<int>(real_name.length()) )
158 new_type = match.
type ;
164 string serr = (string)
"Unable to match data type, "
165 +
"malformed Catalog TypeMatch parameter "
166 +
"in bes configuration file around "
167 + match.
reg +
": " + e.get_error_message() ;
186 list<string> &provides )
188 string node_type =
"" ;
192 for( ; i != ie && !done; i++ )
198 if( reg_expr.match( inQuestion.c_str(), inQuestion.length() ) ==
199 static_cast<int>(inQuestion.length()) )
201 node_type = match.
type ;
207 string serr = (string)
"Unable to determine data products (is data), "
208 +
"malformed Catalog TypeMatch parameter "
209 +
"in bes configuration file around "
210 + match.
reg +
": " + e.get_error_message() ;
231 << (
void *)
this <<
")" << endl ;
235 BESIndent::Indent() ;
236 _utils->
dump( strm ) ;