AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ Get()

template<typename LookupClass , typename EnumType >
void GitTpl::Enum< LookupClass, EnumType >::Get ( const SdsId Id,
const char *const  Name,
const int  Position,
StatusType *  status,
const char *  Default = 0,
const int  Flags = Git::Upper|Git::Abbrev|Git::KeepErr 
)
inline

Get the value of the object from an SDS struture.

This is the function which is used to set the value of the object. It is passed an SDS structure and looks for the item within that structure.

Parameters
IdThe SDS structure.
NameThe name of the item within the structure.
PositionIf the item does not exist by the name, then presume this position.
statusInherited status
DefaultThe default value. If not specified use 0 (first enum val)
FlagsWhich GIT Flags to apply. If not specified, then Git::Upper|GitAbbrev|GitKeepErr is specified.