m_DefinitionURL.erase();
114ResetDefinitionURL();
132 info->SetRandomOrder(
true);
133 info->CodeVersion(22400);
134 info->DataSpec(ncbi::EDataSpec::eXSD);
158 switch( m_choice ) {
160 casee_Annotation_xml:
161m_object->RemoveReference();
173(m_object =
new(pool) ncbi::objects::CAnnotation())->
AddReference();
175 casee_Annotation_xml:
176(m_object =
new(pool) ncbi::objects::CAnnotation_xml())->
AddReference();
192 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
197 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
202CheckSelected(e_Annotation);
203 return*
static_cast<const TAnnotation*
>(m_object);
215 if( m_choice != e_Annotation || m_object != ptr ) {
218m_choice = e_Annotation;
224CheckSelected(e_Annotation_xml);
237 if( m_choice != e_Annotation_xml || m_object != ptr ) {
240m_choice = e_Annotation_xml;
253 info->CodeVersion(22400);
254 info->DataSpec(ncbi::EDataSpec::eXSD);
287 info->RandomOrder();
288 info->CodeVersion(22400);
289 info->DataSpec(ncbi::EDataSpec::eXSD);
311(*m_Attlist).Reset();
325(*m_MathExpression).Reset();
360 SET_NAMESPACE(
"http://www.w3.org/1998/Math/MathML")->SetNsQualified(
true);
364 info->RandomOrder();
365 info->CodeVersion(22400);
366 info->DataSpec(ncbi::EDataSpec::eXSD);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CLASS_INFO("semantics", CSemantics)
BEGIN_NAMED_CLASS_INFO("", CSemantics_Base::C_Attlist)
BEGIN_NAMED_CHOICE_INFO("", CSemantics_Base::C_AA::C_E_AA)
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define MEMBER_PTR(MemberName)
#define ADD_NAMED_MEMBER(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
#define ADD_NAMED_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_STD_MEMBER(MemberAlias, MemberName)
#define SET_CLASS_MODULE(ModuleName)
#define SET_NAMESPACE(name)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
void AddReference(void) const
Add reference to object.
bool IsAllocatedInPool(void) const THROWS_NONE
Check if object is allocated in memory pool (not system heap)
#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.
void ResetXref(void)
Reset Xref data member.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void ResetAttlist(void)
Reset Attlist data member.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void Reset(void)
Reset the whole object.
CRef< TAttlist > m_Attlist
void ResetAA(void)
Reset AA data member.
static const char *const sm_SelectionNames[]
list< CRef< C_E_AA > > TAA
virtual void Reset(void)
Reset the whole object.
void ResetMathExpression(void)
Reset MathExpression data member.
C_MathExpression TMathExpression
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.
TAA & SetAA(void)
Assign a value to AA data member.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
void ResetDefinitionURL(void)
Reset DefinitionURL data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void ResetHref(void)
Reset Href data member.
void ResetClass(void)
Reset Class data member.
TAnnotation_xml & SetAnnotation_xml(void)
Select the variant.
void Reset(void)
Reset the whole object.
CMathExpression C_MathExpression
E_Choice
Choice variants.
CRef< TMathExpression > m_MathExpression
void Reset(void)
Reset the whole object.
void ResetCd(void)
Reset Cd data member.
list< CRef< C_E_AA > > m_AA
TAttlist & SetAttlist(void)
Assign a value to Attlist data member.
const TAnnotation_xml & GetAnnotation_xml(void) const
Get the variant data.
void ResetStyle(void)
Reset Style data member.
void ResetEncoding(void)
Reset Encoding data member.
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