list< CRef< C_E_AA > >
TAA;
854 virtual void Reset(
void);
909m_Id = std::forward<CSemantics_Base::C_Attlist::TId>(
value);
956m_Xref = std::forward<CSemantics_Base::C_Attlist::TXref>(
value);
987 if(!CanGetClass()) {
1003m_Class = std::forward<CSemantics_Base::C_Attlist::TClass>(
value);
1011 if(!IsSetClass()) {
1028 returnIsSetStyle();
1034 if(!CanGetStyle()) {
1050m_Style = std::forward<CSemantics_Base::C_Attlist::TStyle>(
value);
1058 if(!IsSetStyle()) {
1081 if(!CanGetHref()) {
1097m_Href = std::forward<CSemantics_Base::C_Attlist::THref>(
value);
1122 returnIsSetEncoding();
1128 if(!CanGetEncoding()) {
1137m_Encoding =
value;
1144m_Encoding = std::forward<CSemantics_Base::C_Attlist::TEncoding>(
value);
1152 if(!IsSetEncoding()) {
1169 returnIsSetDefinitionURL();
1175 if(!CanGetDefinitionURL()) {
1178 returnm_DefinitionURL;
1184m_DefinitionURL =
value;
1191m_DefinitionURL = std::forward<CSemantics_Base::C_Attlist::TDefinitionURL>(
value);
1199 if(!IsSetDefinitionURL()) {
1204 returnm_DefinitionURL;
1238m_Cd = std::forward<CSemantics_Base::C_Attlist::TCd>(
value);
1269 if(!CanGetName()) {
1285m_Name = std::forward<CSemantics_Base::C_Attlist::TName>(
value);
1310 if( m_choice != index )
1311ThrowInvalidSelection(index);
1320DoSelect(index, pool);
1327Select(index, reset, 0);
1333 returnm_choice == e_Annotation;
1339 returnm_choice == e_Annotation_xml;
1430 return m_AA.NotEmpty();
User-defined methods of the data storage class.
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
virtual ~CSemantics_Base(void)
const TAnnotation & GetAnnotation(void) const
Get the variant data.
void ResetName(void)
Reset Name data member.
TName & SetName(void)
Assign a value to Name data member.
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
void ResetXref(void)
Reset Xref data member.
const TId & GetId(void) const
Get the Id member data.
const TClass & GetClass(void) const
Get the Class member data.
const TAA & GetAA(void) const
Get the AA member data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
bool IsSetMathExpression(void) const
Check if a value has been assigned to MathExpression data member.
THref & SetHref(void)
Assign a value to Href data member.
bool IsSetAA(void) const
Check if a value has been assigned to AA data member.
C_E_AA & operator=(const C_E_AA &)
void ResetAttlist(void)
Reset Attlist data member.
bool CanGetXref(void) const
Check if it is safe to call GetXref method.
C_AA & operator=(const C_AA &)
bool IsSetCd(void) const
Check if a value has been assigned to Cd data member.
const TStyle & GetStyle(void) const
Get the Style member data.
const THref & GetHref(void) const
Get the Href member data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void Reset(void)
Reset the whole object.
const TName & GetName(void) const
Get the Name member data.
CRef< TAttlist > m_Attlist
void ResetAA(void)
Reset AA data member.
static const char *const sm_SelectionNames[]
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetAttlist(void) const
Check if it is safe to call GetAttlist method.
E_Choice Which(void) const
Which variant is currently selected.
list< CRef< C_E_AA > > TAA
virtual void Reset(void)
Reset the whole object.
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
const TMathExpression & GetMathExpression(void) const
Get the MathExpression member data.
void ResetMathExpression(void)
Reset MathExpression data member.
TAA & SetAA(void)
Assign a value to AA data member.
C_MathExpression TMathExpression
Tparent::CMemberIndex< E_memberIndex, 2 > TmemberIndex
void ResetAA(void)
Reset AA data member.
void ResetId(void)
Reset Id data member.
TAnnotation & SetAnnotation(void)
Select the variant.
TMathExpression & SetMathExpression(void)
Assign a value to MathExpression data member.
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
TAA & SetAA(void)
Assign a value to AA data member.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
bool IsSetXref(void) const
Check if a value has been assigned to Xref data member.
C_Attlist & operator=(const C_Attlist &)
CSemantics_Base(const CSemantics_Base &)
bool IsSetAA(void) const
Check if a value has been assigned to AA data member.
const TAttlist & GetAttlist(void) const
Get the Attlist member data.
void ResetDefinitionURL(void)
Reset DefinitionURL data member.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TClass & SetClass(void)
Assign a value to Class data member.
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsSetDefinitionURL(void) const
Check if a value has been assigned to DefinitionURL data member.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void ResetHref(void)
Reset Href data member.
TDefinitionURL & SetDefinitionURL(void)
Assign a value to DefinitionURL data member.
CAnnotation_xml TAnnotation_xml
TCd & SetCd(void)
Assign a value to Cd data member.
bool IsAnnotation(void) const
Check if variant Annotation is selected.
bool CanGetAA(void) const
Check if it is safe to call GetAA method.
bool IsAnnotation_xml(void) const
Check if variant Annotation_xml is selected.
TXref & SetXref(void)
Assign a value to Xref data member.
CSemantics_Base & operator=(const CSemantics_Base &)
void ResetClass(void)
Reset Class data member.
bool CanGetEncoding(void) const
Check if it is safe to call GetEncoding method.
const TAA & GetAA(void) const
Get the AA member data.
TEncoding & SetEncoding(void)
Assign a value to Encoding data member.
bool CanGetMathExpression(void) const
Check if it is safe to call GetMathExpression method.
bool IsSetEncoding(void) const
Check if a value has been assigned to Encoding data member.
bool IsSetAttlist(void) const
Check if a value has been assigned to Attlist data member.
TId & SetId(void)
Assign a value to Id data member.
TAnnotation_xml & SetAnnotation_xml(void)
Select the variant.
DECLARE_INTERNAL_TYPE_INFO()
void Reset(void)
Reset the whole object.
CMathExpression C_MathExpression
E_Choice
Choice variants.
CRef< TMathExpression > m_MathExpression
const TEncoding & GetEncoding(void) const
Get the Encoding member data.
bool CanGetAA(void) const
Check if it is safe to call GetAA method.
void Reset(void)
Reset the whole object.
void ResetCd(void)
Reset Cd data member.
const TCd & GetCd(void) const
Get the Cd member data.
const TXref & GetXref(void) const
Get the Xref member data.
list< CRef< C_E_AA > > m_AA
bool CanGetCd(void) const
Check if it is safe to call GetCd method.
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
NCBI_NS_NCBI::CSerialObject * m_object
DECLARE_INTERNAL_TYPE_INFO()
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsSetHref(void) const
Check if a value has been assigned to Href data member.
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
bool CanGetHref(void) const
Check if it is safe to call GetHref method.
bool CanGetDefinitionURL(void) const
Check if it is safe to call GetDefinitionURL method.
const TDefinitionURL & GetDefinitionURL(void) const
Get the DefinitionURL member data.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
C_Attlist(const C_Attlist &)
bool CanGetName(void) const
Check if it is safe to call GetName method.
const TAnnotation_xml & GetAnnotation_xml(void) const
Get the variant data.
bool CanGetId(void) const
Check if it is safe to call GetId method.
void ResetStyle(void)
Reset Style data member.
TStyle & SetStyle(void)
Assign a value to Style data member.
DECLARE_INTERNAL_TYPE_INFO()
void ResetEncoding(void)
Reset Encoding data member.
@ e_not_set
No variant selected.
@ e_MaxChoice
== e_Annotation_xml+1
const GenericPointer< typename T::ValueType > T2 value
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4