NCBI C++ ToolKit
|
Search Toolkit Book for CItemGroupType_Base::C_E_ItemGroupType
Groups item list definitions. More...
#include <build-system/project_tree_builder/msbuild/ItemGroupType_.hpp>
Public Types | |
enum | E_Choice { e_not_set = 0 , e_Item , e_ProjectConfiguration , e_ProjectReference , e_ClCompile , e_ClInclude , e_None , e_CustomBuild , e_Filter , e_AnyContent , e_Link , e_ResourceCompile , e_PreBuildEvent , e_PostBuildEvent } |
Choice variants. More... | |
enum | E_ChoiceStopper { e_MaxChoice = 14 } |
Maximum+1 value of the choice variant enumerator. More... | |
typedef CItem | TItem |
typedef CProjectConfiguration | TProjectConfiguration |
typedef CProjectReference | TProjectReference |
typedef CClCompile | TClCompile |
typedef CClInclude | TClInclude |
typedef CNone | TNone |
typedef CCustomBuild | TCustomBuild |
typedef CFilter | TFilter |
typedef NCBI_NS_NCBI::CAnyContentObject | TAnyContent |
typedef CLink | TLink |
typedef CResourceCompile | TResourceCompile |
typedef CPreBuildEvent | TPreBuildEvent |
typedef CPostBuildEvent | TPostBuildEvent |
Public Member Functions | |
C_E_ItemGroupType (void) | |
~C_E_ItemGroupType (void) | |
DECLARE_INTERNAL_TYPE_INFO () | |
void | Reset (void) |
Reset the whole object. More... | |
void | ResetSelection (void) |
Reset the selection (set it to e_not_set). More... | |
E_Choice | Which (void) const |
Which variant is currently selected. More... | |
void | CheckSelected (E_Choice index) const |
Verify selection, throw exception if it differs from the expected. More... | |
void | ThrowInvalidSelection (E_Choice index) const |
Throw 'InvalidSelection' exception. More... | |
void | Select (E_Choice index, NCBI_NS_NCBI::EResetVariant reset=NCBI_NS_NCBI::eDoResetVariant) |
Select the requested variant if needed. More... | |
void | Select (E_Choice index, NCBI_NS_NCBI::EResetVariant reset, NCBI_NS_NCBI::CObjectMemoryPool *pool) |
Select the requested variant if needed, allocating CObject variants from memory pool. More... | |
bool | IsItem (void) const |
Check if variant Item is selected. More... | |
const TItem & | GetItem (void) const |
Get the variant data. More... | |
TItem & | SetItem (void) |
Select the variant. More... | |
void | SetItem (TItem &value) |
Select the variant and set its data. More... | |
bool | IsProjectConfiguration (void) const |
Check if variant ProjectConfiguration is selected. More... | |
const TProjectConfiguration & | GetProjectConfiguration (void) const |
Get the variant data. More... | |
TProjectConfiguration & | SetProjectConfiguration (void) |
Select the variant. More... | |
void | SetProjectConfiguration (TProjectConfiguration &value) |
Select the variant and set its data. More... | |
bool | IsProjectReference (void) const |
Check if variant ProjectReference is selected. More... | |
const TProjectReference & | GetProjectReference (void) const |
Get the variant data. More... | |
TProjectReference & | SetProjectReference (void) |
Select the variant. More... | |
void | SetProjectReference (TProjectReference &value) |
Select the variant and set its data. More... | |
bool | IsClCompile (void) const |
Check if variant ClCompile is selected. More... | |
const TClCompile & | GetClCompile (void) const |
Get the variant data. More... | |
TClCompile & | SetClCompile (void) |
Select the variant. More... | |
void | SetClCompile (TClCompile &value) |
Select the variant and set its data. More... | |
bool | IsClInclude (void) const |
Check if variant ClInclude is selected. More... | |
const TClInclude & | GetClInclude (void) const |
Get the variant data. More... | |
TClInclude & | SetClInclude (void) |
Select the variant. More... | |
void | SetClInclude (TClInclude &value) |
Select the variant and set its data. More... | |
bool | IsNone (void) const |
Check if variant None is selected. More... | |
const TNone & | GetNone (void) const |
Get the variant data. More... | |
TNone & | SetNone (void) |
Select the variant. More... | |
void | SetNone (TNone &value) |
Select the variant and set its data. More... | |
bool | IsCustomBuild (void) const |
Check if variant CustomBuild is selected. More... | |
const TCustomBuild & | GetCustomBuild (void) const |
Get the variant data. More... | |
TCustomBuild & | SetCustomBuild (void) |
Select the variant. More... | |
void | SetCustomBuild (TCustomBuild &value) |
Select the variant and set its data. More... | |
bool | IsFilter (void) const |
Check if variant Filter is selected. More... | |
const TFilter & | GetFilter (void) const |
Get the variant data. More... | |
TFilter & | SetFilter (void) |
Select the variant. More... | |
void | SetFilter (TFilter &value) |
Select the variant and set its data. More... | |
bool | IsAnyContent (void) const |
Check if variant AnyContent is selected. More... | |
const TAnyContent & | GetAnyContent (void) const |
Get the variant data. More... | |
TAnyContent & | SetAnyContent (void) |
Select the variant. More... | |
void | SetAnyContent (TAnyContent &value) |
Select the variant and set its data. More... | |
bool | IsLink (void) const |
Check if variant Link is selected. More... | |
const TLink & | GetLink (void) const |
Get the variant data. More... | |
TLink & | SetLink (void) |
Select the variant. More... | |
void | SetLink (TLink &value) |
Select the variant and set its data. More... | |
bool | IsResourceCompile (void) const |
Check if variant ResourceCompile is selected. More... | |
const TResourceCompile & | GetResourceCompile (void) const |
Get the variant data. More... | |
TResourceCompile & | SetResourceCompile (void) |
Select the variant. More... | |
void | SetResourceCompile (TResourceCompile &value) |
Select the variant and set its data. More... | |
bool | IsPreBuildEvent (void) const |
Check if variant PreBuildEvent is selected. More... | |
const TPreBuildEvent & | GetPreBuildEvent (void) const |
Get the variant data. More... | |
TPreBuildEvent & | SetPreBuildEvent (void) |
Select the variant. More... | |
void | SetPreBuildEvent (TPreBuildEvent &value) |
Select the variant and set its data. More... | |
bool | IsPostBuildEvent (void) const |
Check if variant PostBuildEvent is selected. More... | |
const TPostBuildEvent & | GetPostBuildEvent (void) const |
Get the variant data. More... | |
TPostBuildEvent & | SetPostBuildEvent (void) |
Select the variant. More... | |
void | SetPostBuildEvent (TPostBuildEvent &value) |
Select the variant and set its data. More... | |
Static Public Member Functions | |
static NCBI_NS_STD::string | SelectionName (E_Choice index) |
Retrieve selection name (for diagnostic purposes). More... | |
Private Types | |
typedef NCBI_NS_NCBI::CSerialObject | Tparent |
Private Member Functions | |
C_E_ItemGroupType (const C_E_ItemGroupType &) | |
C_E_ItemGroupType & | operator= (const C_E_ItemGroupType &) |
void | DoSelect (E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0) |
Private Attributes | |
E_Choice | m_choice |
NCBI_NS_NCBI::CSerialObject * | m_object |
Static Private Attributes | |
static const char *const | sm_SelectionNames [] |
Groups item list definitions.
Definition at line 229 of file ItemGroupType_.hpp.