22 #ifndef PDBCATALOG_VTABLEMAP_C_
23 #define PDBCATALOG_VTABLEMAP_C_
55 if (a.second == objectType)
82 std::map<std::string, int16_t> iterator;
85 std::cout <<
"Type name= " << iterator.first <<
" | TypeId= " << iterator.second
105 std::string replacementString(
"");
106 std::string prefix(
"");
107 bool isTemplate =
false;
109 int length = objectTypeName.size();
110 for (
unsigned int loc = 0; loc < length; loc++) {
111 if (objectTypeName[loc] ==
'<') {
115 prefix = objectTypeName.substr(0, loc);
116 replacementString = std::string(
"pdb::Nothing");
118 }
else if (objectTypeName[loc] ==
'>') {
120 }
else if (objectTypeName[loc] ==
',' && depth == 1) {
121 std::string nextReplacement(
",pdb::Nothing");
122 replacementString += nextReplacement;
128 objectTypeName = prefix + std::string(
"<") + replacementString + std::string(
">");
137 if (withLock ==
true) {
144 if (identifier == -1) {
156 if (identifier == -1) {
216 int res = dlclose(v);
218 std::cout << dlerror() <<
"\n";
227 if (objectTypeID < 0) {
237 if (returnVal !=
nullptr) {
254 if (returnVal !=
nullptr) {
static void listVtableLabels()
std::vector< void * > so_handles
std::vector< void * > allVTables
#define TYPE_NOT_RECOGNIZED
static void listVtableEntries()
static int totalBuiltInObjects()
static void * getVTablePtrUsingCatalog(int16_t objectTypeID)
static void * getVTablePtr(int16_t objectTypeID)
static int16_t lookupTypeNameInCatalog(std::string objectTypeName)
static CatalogClient * getCatalogClient()
static int16_t getIDByName(std::string objectName, bool withLock=true)
static void setCatalogClient(CatalogClient *catalog)
static int16_t lookupBuiltInType(std::string objectTypeName)
std::map< std::string, int16_t > objectTypeNamesList