| 92 | } |
| 93 | |
| 94 | bool SQLiteObject::onAdd() |
| 95 | { |
| 96 | if (!Parent::onAdd()) |
| 97 | return false; |
| 98 | |
| 99 | const char *name = getName(); |
| 100 | if (name && name[0] && getClassRep()) |
| 101 | { |
| 102 | Namespace *parent = getClassRep()->getNameSpace(); |
| 103 | Con::linkNamespaces(parent->mName, name); |
| 104 | mNameSpace = Con::lookupNamespace(name); |
| 105 | } |
| 106 | |
| 107 | return true; |
| 108 | } |
| 109 | |
| 110 | // This is the function that gets called when an instance |
| 111 | // of your object is being removed from the system and being |
nothing calls this directly
no test coverage detected