Safir SDK Core
|
Description of a property member mapping. More...
#include <Safir/Dob/Typesystem/ToolSupport/TypeRepository.h>
Public Member Functions | |
virtual DotsC_PropertyMappingKind | GetMappingKind () const =0 |
Get type of property member mapping. More... | |
virtual std::pair< const ParameterDescription *, int > | GetParameter () const =0 |
If this property mapping is of type MappedToParameter, use GetMappingKind() to check that, this method returns a pair containing parameter description and parameter index. More... | |
virtual int | MemberReferenceDepth () const =0 |
If this property mapping is of type MappedToMember, use GetMappingKind() to check that, this method returns a member depth level. More... | |
virtual std::pair< DotsC_MemberIndex, DotsC_Int32 > | GetMemberReference (int depth) const =0 |
If this property mapping is of type MappedToMember, use GetMappingKind() to check that, this method will get a pair containing a class member index and an array index for the member mapping of specified depth. More... | |
Description of a property member mapping.
|
pure virtual |
Get type of property member mapping.
A member can be mapped to NULL, to a class member or to a parameter.
|
pure virtual |
If this property mapping is of type MappedToMember, use GetMappingKind() to check that, this method will get a pair containing a class member index and an array index for the member mapping of specified depth.
depth | [in] - The depth of the member mappping that is requested. |
|
pure virtual |
If this property mapping is of type MappedToParameter, use GetMappingKind() to check that, this method returns a pair containing parameter description and parameter index.
If member is mapped to a whole array the parameterIndex is not valid.
|
pure virtual |
If this property mapping is of type MappedToMember, use GetMappingKind() to check that, this method returns a member depth level.
I.e how many indirection into contained objects that is used. For example if property member M1 is mapped into Class1.ObjectMember1.Int32Member this method will return 2.