Return Type | Function name | Arguments |
---|---|---|
void | hdbADP::Report | (hzChain&,) |
Declared in file: hzDatabase.h
Defined in file : hdbClass.cpp
Function Logic:
Function body:
void hdbADP::Report (hzChain& Z) { _hzfunc("hdbADP::Report") ; const hdbDatatype* pDT ; const hdbClass* pClass ; const hdbMember* pMbr ; hdbEnum* pSlct ; uint32_t x ; uint32_t y ; Z.Printf("APPLICATION DELTA PROFILE\n") ; Z.Printf("Data types\n") ; Z.Printf(" -- Validation formats\n") ; for (x = 0; x < m_mapDatatypes.Count() ; x++) { pDT = m_mapDatatypes.GetObj(x) ; if (pDT->Basetype() != BASETYPE_APPDEF) continue ; Z.Printf("\t -- %s\n", pDT->txtType()) ; } Z.Printf(" -- Selectors\n") ; for (x = 0; x < m_mapDatatypes.Count() ; x++) { pDT = m_mapDatatypes.GetObj(x) ; if (pDT->Basetype() != BASETYPE_ENUM) continue ; pSlct = (hdbEnum*) pDT ; Z.Printf("\t -- %s\n", pSlct->txtType()) ; } Z.Printf(" -- Clases\n") ; for (x = 0; x < m_mapClasses.Count() ; x++) { pClass = m_mapClasses.GetObj(x) ; Z.Printf("\t -- %s\n", pClass->txtType()) ; for (y = 0; y < pClass->MbrCount() ; y++) { pMbr = pClass->GetMember(y) ; Z.Printf("\t\t -- %s [%s]\n", pMbr->txtName(), Basetype2Txt(pMbr->Basetype())) ; } } Z.Printf(" -- Class Delta ID assignments\n") ; for (x = 0; x < m_mapClsCtxDtId.Count() ; x++) { y = m_mapClsCtxDtId.GetKey(x) ; pClass = m_mapClsCtxDtId.GetObj(x) ; Z.Printf("\t\t -- [%d] %s\n", y, pClass->txtType()) ; } }