#include <CTiglUIDManager.h>
Data Structures | |
| struct | TypedPtr |
Public Member Functions | |
| TIGL_EXPORT void | Clear () |
| TIGL_EXPORT | CTiglUIDManager () |
| TIGL_EXPORT ITiglGeometricComponent & | GetGeometricComponent (const std::string &uid) const |
| TIGL_EXPORT CTiglRelativelyPositionedComponent * | GetParentGeometricComponent (const std::string &uid) const |
| TIGL_EXPORT std::set< const CTiglUIDObject * > | GetReferences (const std::string &uid) const |
| TIGL_EXPORT CTiglRelativelyPositionedComponent & | GetRelativeComponent (const std::string &uid) const |
| TIGL_EXPORT const RelativeComponentContainerType & | GetRelativeComponents () const |
| TIGL_EXPORT const RelativeComponentContainerType & | GetRootGeometricComponents () const |
| TIGL_EXPORT const ShapeContainerType & | GetShapeContainer () const |
| TIGL_EXPORT bool | HasGeometricComponent (const std::string &uid) const |
| TIGL_EXPORT bool | IsReferenced (const std::string &uid) const |
| template<typename T> | |
| bool | IsType (const std::string &uid) const |
| template<typename T> | |
| bool | IsUIDRegistered (const std::string &uid) const |
| TIGL_EXPORT bool | IsUIDRegistered (const std::string &uid) const |
| TIGL_EXPORT bool | IsUIDRegistered (const std::string &uid, const std::type_info &typeInfo) const |
| TIGL_EXPORT std::string | MakeUIDUnique (const std::string &baseUID) const |
| template<typename T> | |
| void | RegisterObject (const std::string &uid, T &object) |
| template<typename T> | |
| void | RegisterReference (const std::string &uid, T &object) |
| template<typename T> | |
| T & | ResolveObject (const std::string &uid) const |
| TIGL_EXPORT TypedPtr | ResolveObject (const std::string &uid) const |
| TIGL_EXPORT TypedPtr | ResolveObject (const std::string &uid, const std::type_info &typeInfo) const |
| template<typename T> | |
| std::vector< T * > | ResolveObjects () const |
| TIGL_EXPORT void | SetParentComponents () |
| TIGL_EXPORT bool | TryUnregisterObject (const std::string &uid) |
| template<typename T> | |
| bool | TryUnregisterReference (const std::string &uid, T &object) |
| TIGL_EXPORT void | UnregisterObject (const std::string &uid) |
| TIGL_EXPORT void | UpdateObjectUID (const std::string &oldUID, const std::string &newUID) |
Private Types | |
| typedef std::map< std::string, TypedPtr > | CPACSObjectMap |
| typedef std::unordered_map< ITiglUIDRefObject *, int > | UIDReferenceEntries |
| typedef std::map< std::string, UIDReferenceEntries > | UIDReferenceMap |
Private Member Functions | |
| void | AddGeometricComponent (const std::string &uid, ITiglGeometricComponent *componentPtr) |
| void | BuildTree () |
| CTiglUIDManager (const CTiglUIDManager &) | |
| void | operator= (const CTiglUIDManager &) |
| void | RegisterObject (const std::string &uid, void *object, const std::type_info &typeInfo) |
| void | RegisterReference (const std::string &targetUid, ITiglUIDRefObject *source) |
| bool | TryRemoveGeometricComponent (const std::string &uid) |
| bool | TryUnregisterReference (const std::string &targetUid, ITiglUIDRefObject *source) |
| bool | TryUpdateGeometricComponentUID (const std::string &oldUID, const std::string &newUID) |
| void | Update () |
| void | UpdateUIDReferences (const std::string &oldUID, const std::string &newUID) |
Private Attributes | |
| ShapeContainerType | allShapes |
| All components of the configuration. | |
| CPACSObjectMap | cpacsObjects |
| All objects in CPACS which have a UID. | |
| bool | invalidated |
| Internal state flag. | |
| RelativeComponentContainerType | relativeComponents |
| All relative components of the configuration. | |
| CTiglRelativelyPositionedComponent * | rootComponent |
| Root component injected by configuration. | |
| RelativeComponentContainerType | rootComponents |
| All root components that have children. | |
| UIDReferenceMap | uidReferences |
| All references to a specific UID. | |
|
private |
|
private |
|
private |
| TIGL_EXPORT tigl::CTiglUIDManager::CTiglUIDManager | ( | ) |
|
private |
|
private |
|
private |
| TIGL_EXPORT void tigl::CTiglUIDManager::Clear | ( | ) |
| TIGL_EXPORT ITiglGeometricComponent & tigl::CTiglUIDManager::GetGeometricComponent | ( | const std::string & | uid | ) | const |
| TIGL_EXPORT CTiglRelativelyPositionedComponent * tigl::CTiglUIDManager::GetParentGeometricComponent | ( | const std::string & | uid | ) | const |
| TIGL_EXPORT std::set< const CTiglUIDObject * > tigl::CTiglUIDManager::GetReferences | ( | const std::string & | uid | ) | const |
| TIGL_EXPORT CTiglRelativelyPositionedComponent & tigl::CTiglUIDManager::GetRelativeComponent | ( | const std::string & | uid | ) | const |
| TIGL_EXPORT const RelativeComponentContainerType & tigl::CTiglUIDManager::GetRelativeComponents | ( | ) | const |
| TIGL_EXPORT const RelativeComponentContainerType & tigl::CTiglUIDManager::GetRootGeometricComponents | ( | ) | const |
| TIGL_EXPORT const ShapeContainerType & tigl::CTiglUIDManager::GetShapeContainer | ( | ) | const |
| TIGL_EXPORT bool tigl::CTiglUIDManager::HasGeometricComponent | ( | const std::string & | uid | ) | const |
| TIGL_EXPORT bool tigl::CTiglUIDManager::IsReferenced | ( | const std::string & | uid | ) | const |
|
inline |
|
inline |
| TIGL_EXPORT bool tigl::CTiglUIDManager::IsUIDRegistered | ( | const std::string & | uid | ) | const |
| TIGL_EXPORT bool tigl::CTiglUIDManager::IsUIDRegistered | ( | const std::string & | uid, |
| const std::type_info & | typeInfo ) const |
| TIGL_EXPORT std::string tigl::CTiglUIDManager::MakeUIDUnique | ( | const std::string & | baseUID | ) | const |
|
private |
|
inline |
|
private |
|
private |
|
inline |
|
inline |
| TIGL_EXPORT TypedPtr tigl::CTiglUIDManager::ResolveObject | ( | const std::string & | uid | ) | const |
| TIGL_EXPORT TypedPtr tigl::CTiglUIDManager::ResolveObject | ( | const std::string & | uid, |
| const std::type_info & | typeInfo ) const |
|
inline |
| TIGL_EXPORT void tigl::CTiglUIDManager::SetParentComponents | ( | ) |
|
private |
| TIGL_EXPORT bool tigl::CTiglUIDManager::TryUnregisterObject | ( | const std::string & | uid | ) |
|
private |
|
inline |
|
private |
| TIGL_EXPORT void tigl::CTiglUIDManager::UnregisterObject | ( | const std::string & | uid | ) |
|
private |
| TIGL_EXPORT void tigl::CTiglUIDManager::UpdateObjectUID | ( | const std::string & | oldUID, |
| const std::string & | newUID ) |
|
private |
|
private |
All components of the configuration.
|
private |
All objects in CPACS which have a UID.
|
private |
Internal state flag.
|
private |
All relative components of the configuration.
|
private |
Root component injected by configuration.
|
private |
All root components that have children.
|
private |
All references to a specific UID.