#include <TypeService.h>
Public Member Functions | |
TypeService (Connection *con) | |
void | init () |
TypeInfoPtr | getTypeByName (const std::string &tynm) |
find the TypeInfo for the named type; this may involve a search, or a map lookup. | |
TypeInfoPtr | getTypeForAtlas (const Atlas::Objects::Root &obj) |
retrive the TypeInfo for an object; this should be faster (hopefully constant time) since it can take advantage of integer typeids | |
TypeInfoPtr | findTypeByName (const std::string &tynm) |
Lookup the requested type, by name, and return NULL if it's unknown. | |
void | listUnbound () |
void | handleOperation (const Atlas::Objects::Operation::RootOperation &) |
Public Attributes | |
sigc::signal< void, TypeInfoPtr > | BoundType |
emitted when a new type is available and bound to it's parents | |
sigc::signal< void, TypeInfoPtr > | BadType |
emitted when a type is confirmed as being undefined |
|
find the TypeInfo for the named type; this may involve a search, or a map lookup. The returned TypeInfo node may not be bound, and the caller should verify this before using the type. |