Concept multiple link. More...
Concept multiple link.
ElementType | Base type of the linked elements. Linked elements are or inherited from ElementType type. |
Public Member Methods | |
BaseConceptFactory & | GetFactory () const |
Gets the ConceptElement factory. More... | |
void | Invoke (const DynamicInvocationRequest &request, DynamicInvocationResult &result) |
Invokes the object fields and methods. More... | |
ConceptMultipleLink () | |
Default constructor. More... | |
ConceptMultipleLink (const ConceptMultipleLink &right) | |
Default constructor. More... | |
ConceptMultipleLink & | operator= (const ConceptMultipleLink &right) |
Assignment operator. More... | |
bool | IsValidReference () const |
Query if this object is valid reference. More... | |
bool | AllValidReferences () const |
Query if this object has all valid references. More... | |
bool | HasValidReferences () const |
Query if this object has valid references. More... | |
IReferenceList< ElementType > & | GetReferences () |
Gets the references. More... | |
void | AddReference (ElementType &reference) |
Adds a reference. More... | |
void | ReleaseReference () |
Releases the reference. More... | |
bool | IsLinkedTo (const ConceptElement &element) const |
Query if 'element' is linked to. More... | |
bool | CanAccept (ConceptElement &element) const |
Queries if we can accept 'element' as linked object. More... | |
void | ResolveLinks () |
Resolve links. More... | |
Public Member Methods inherited from BaseConceptMultipleLink | |
BaseConceptMultipleLink () | |
Default constructor. More... | |
~BaseConceptMultipleLink () | |
Destructor. More... | |
void | SetLinkPathes (const Strings &linkPathes) |
Sets the links pathes. More... | |
void | AddLinkPath (const PCChar8 linkPath) |
Adds a link path. More... | |
void | Clear () |
Clears the reference(s). More... | |
void | ReadFrom (IDataStore &dataStore, IMessageCollector *messages=NULL) |
Reads from. More... | |
void | WriteTo (IDataStore &dataStore) const |
Writes to. More... | |
void | Accept (IContainerVisitor &visitor) |
Accepts IContainerVisitor to access the object published fields. 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... | |
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... | |
|
inline |
Default constructor.
ConceptMultipleLink | ( | const ConceptMultipleLink< ElementType > & | right | ) |
Default constructor.
right | The right. |
void AddReference | ( | ElementType & | reference | ) |
Adds a reference.
reference | [in,out] The reference. |
bool AllValidReferences | ( | ) | const |
Query if this object has all valid references.
|
virtual |
Queries if we can accept 'element' as linked object.
element | [in,out] The element. |
Implements ConceptLink.
|
inlinestatic |
Get the class factory.
|
inlinevirtual |
IReferenceList< ElementType > & GetReferences | ( | ) |
Gets the references.
bool HasValidReferences | ( | ) | const |
Query if this object has valid references.
|
inlinevirtual |
Invokes the object fields and methods.
request | The request. |
result | [in,out] The result. |
Dynamic Invocation on IInvocable objects enables us to have remote access on published fields and methods.
Reimplemented from BaseConceptMultipleLink.
|
virtual |
Query if 'element' is linked to.
element | The element. |
Implements ConceptLink.
bool IsValidReference | ( | ) | const |
Query if this object is valid reference.
ConceptMultipleLink< ElementType > & operator= | ( | const ConceptMultipleLink< ElementType > & | right | ) |
Assignment operator.
right | The right. |
|
virtual |
Releases the reference.
Implements ConceptLink.
|
virtual |
Resolve links.
Reimplemented from ConceptElement.