Concept single link. More...
Concept single link.
ElementType | Base ConceptElement type of linked element. The linked element is or inherited from ElementType type. |
Public Member Methods | |
BaseConceptFactory & | GetFactory () const |
Gets the ConceptElement factory. More... | |
ConceptSingleLink () | |
Default constructor. More... | |
ElementType * | GetReference () const |
Gets the reference. More... | |
void | SetReference (ElementType &element) |
Sets the reference. More... | |
void | ResolveLinks () |
Resolve links. More... | |
bool | CanAccept (ConceptElement &element) const |
Queries if we can accept 'element' as linked object. More... | |
Public Member Methods inherited from BaseConceptSingleLink | |
const String & | GetLinkPath () const |
Path to the linked element. More... | |
const String & | GetLinkPath () |
Path to the linked element. More... | |
void | SetLinkPath (const String &value) |
Path to the linked element. More... | |
void | Accept (IContainerVisitor &visitor) |
Accepts IContainerVisitor to access the object published fields. More... | |
BaseConceptSingleLink () | |
Default constructor. More... | |
BaseConceptSingleLink (const BaseConceptSingleLink &right) | |
Default constructor. More... | |
ConceptElement * | GetReference () const |
Gets the linked reference. More... | |
bool | IsValidReference () const |
Query if the reference to the linked object is set. More... | |
void | ReleaseReference () |
Releases the reference. More... | |
void | Clear () |
Clears the reference(s). More... | |
bool | IsLinkedTo (const ConceptElement &element) const |
Query if 'element' is linked to. More... | |
Public Member Methods inherited from ConceptLink | |
const bool & | GetMandatory () const |
Mandatory link flag (Default = True) More... | |
const bool & | GetMandatory () |
Mandatory link flag (Default = True) More... | |
void | SetMandatory (const bool &value) |
Mandatory link flag (Default = True) More... | |
ConceptLink () | |
Default constructor. More... | |
const PackedStringList< 1024, 16 > & | GetReferentials () const |
Gets the referentials. More... | |
void | SetReferentials (const Strings &referentials) |
Sets the referentials. More... | |
void | AddReferential (const String referential) |
Adds a referential. More... | |
String | LinkedItemPath (ConceptElement &element) const |
Process the Linked item path. More... | |
void | Invoke (const DynamicInvocationRequest &request, DynamicInvocationResult &result) |
Invokes the object fields and methods. More... | |
void | ReadFrom (IDataStore &dataStore, IMessageCollector *messages=NULL) |
Reads from. More... | |
void | WriteTo (IDataStore &dataStore) const |
Writes to. More... | |
Public Member Methods inherited from ConceptElement | |
const bool & | GetIsInvocable () const |
Controls if the objet should be shown in the invocation. More... | |
const bool & | GetIsInvocable () |
Controls if the objet should be shown in the invocation. More... | |
void | SetIsInvocable (const bool &value) |
Controls if the objet should be shown in the invocation. More... | |
const bool & | GetIsSerialized () const |
Controls if the objet should be serialized. More... | |
const bool & | GetIsSerialized () |
Controls if the objet should be serialized. More... | |
void | SetIsSerialized (const bool &value) |
Controls if the objet should be serialized. More... | |
ConceptElement () | |
Default constructor. More... | |
ConceptElement (const ConceptElement &right) | |
Default constructor. More... | |
ConceptElement & | operator= (const ConceptElement &right) |
Assignment operator. More... | |
const StaticString< ConceptElementNameMaxLength > & | GetName () const |
Gets the name. More... | |
void | SetName (const PCChar8 name) |
Sets a name. More... | |
String | GetPath () const |
Gets the path of the ConceptElement. More... | |
ConceptContainer * | GetContainer () const |
Gets the container of the ConceptElement. More... | |
template<class ContainerType > | |
ContainerType * | GetContainerOfType () const |
Gets the container of a certain type the ConceptElement. More... | |
ConceptContainer * | GetRootContainer () const |
Gets the root container of the ConceptElement. More... | |
virtual const String | GetDisplayName () const |
Gets the display name. More... | |
virtual void | CopyDataFrom (const ConceptElement &source) |
Copies the data from another ConceptElement. More... | |
virtual void | CopyFrom (const ConceptElement &source) |
Copies itself from a given source. More... | |
ConceptElement & | GetProvider () const |
Gets the provider of the ConceptElement if defined, throws a ConceptException otherwise. More... | |
template<class T > | |
T & | GetProvider () const |
Gets the provider of the ConceptElement if defined and of type T, throws a ConceptException otherwise. More... | |
bool | GetHasProvider () const |
Tests the existence of a provider. More... | |
template<class T > | |
bool | GetHasProvider () const |
Tests the existence of a provider of type T. More... | |
virtual ConceptElement * | Clone () const |
Makes a deep copy of this object. More... | |
virtual void | RetrieveProvidedFactories (BaseConceptFactories &factories, const Predicate< BaseConceptFactory & > &filter) |
Retrieve provided factories. More... | |
void | RetrieveProvidedFactories (BaseConceptFactories &factories) |
Retrieve provided factories. More... | |
virtual void | RetrieveFactories (BaseConceptFactories &factories) const |
Retrieve factories. More... | |
Variant | GetPropertyMetaData (PCChar8 propertyName, PCChar8 metaDataName, const Variant &defaultValue=Variant::GetVariantNull()) const |
Returns a metadata string corresponding to a property and a metadata name. More... | |
Static Public Member Functions | |
static BaseConceptFactory & | GetClassFactory () |
Get the class factory. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ConceptElement | |
void | Initialize () |
Initializes this object. More... | |
virtual BaseConceptFactory & | InternalGetFactory () const |
Gets the object factory. More... | |
virtual void | RetrieveElementProvidedFactories (BaseConceptFactories &factories, const Predicate< BaseConceptFactory & > &filter) |
RetrieveElementProvidedFactories. Used by the macro CONCEPT_PROVIDED_COMPONENT_BEGIN More... | |