49 namestr.append(
" uses ");
62 cerr <<
"unexpected name level" << endl;
65 return namestr.c_str();
116 if(new_extent != inserted_extent)
126 if( (strncmp(count_tag,
"FI",2)==0) || (strncmp(count_tag,
"FO",2)==0) )
128 char suffix=count_tag[2];
150 cerr <<
"Unexpected count tag suffix" << count_tag << endl;
155 cerr <<
"Unexpected count tag " << count_tag << endl;
186 while(extent_ptr!=NULL)
193 extent_line.
ToFile(ofstr);
213 string line_keyword_dummy;
218 next_line.
Extract(line_keyword_dummy) &&
243 string supplier_dummy, client_dummy;
246 next_line.
Extract(line_keyword_dummy) &&
247 next_line.
Extract(supplier_dummy) &&
248 next_line.
Extract(client_dummy) &&
256 if(found_eptr!=new_extent)
258 cerr <<
"Failed to add extent for relationship "
281 cerr <<
"Ignoring userel extent on line " <<
ifstr_line << endl;
CCCC_Table< CCCC_Module > module_table
virtual string key() const
bool Insert(const string &s)
CCCC_Module * client_module_ptr(CCCC_Project *prj)
int get_count(const char *count_tag)
static const string USEEXT_PREFIX
string name(int index) const
CCCC_Project * current_loading_project
void add_extent(CCCC_Item &)
UseType get_usetype() const
int GetFromItem(CCCC_Item &item)
T * find_or_insert(T *new_item_ptr)
bool FromFile(ifstream &ifstr)
CCCC_Table< CCCC_UseRelationship > userel_table
Extent_Table extent_table
int AddToItem(CCCC_Item &item)
int ToFile(ofstream &outfile)
Visibility get_visibility() const
bool PeekAtNextLinePrefix(ifstream &ifstr, string pfx)
int FromFile(ifstream &infile)
CCCC_Module * supplier_module_ptr(CCCC_Project *prj)
static const string USEREL_PREFIX
bool ToFile(ofstream &ofstr)