Provide a namering summary report to a file stream Returns: None
| Return Type | Function name | Arguments |
|---|---|---|
| void | hzNamering::Report | (ofstream&,) |
Declared in file: hzNamering.h
Defined in file : hzNamering.cpp
Function Logic:
Function body:
void hzNamering::Report (ofstream& os)
{
// Provide a namering summary report to a file stream
//
// Arguments: 1) os Output stream
// Returns: None
_hzfunc("hzNamering::Report(os)") ;
hzString key ; // Lookup key for roots
hzString obj ; // Object found for key
uint32_t nW ; // Number of applicable roots for a word
os << "member::root\n" ;
for (nW = 0; nW < mx->m_Roots.Count() ; nW++)
{
key = mx->m_Roots.GetKey(nW) ;
obj = mx->m_Roots.GetObj(nW) ;
os << "\t[" << key << "]\t->\t[" << obj << "]\n" ;
}
os << "root::member\n" ;
for (nW = 0; nW < mx->m_Members.Count() ; nW++)
{
key = mx->m_Members.GetKey(nW) ;
obj = mx->m_Members.GetObj(nW) ;
os << "\t[" << key << "]\t->\t[" << obj << "]\n" ;
}
os << "@end\n\n" ;
}