ResetSelection(
void);
135E_Choice Which(
void)
const;
141 voidCheckSelected(E_Choice index)
const;
147NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
155 static stringSelectionName(E_Choice index);
190 boolIsMl(
void)
const;
196 const TMl& GetMl(
void)
const;
216 boolIsProt(
void)
const;
222 const TProt& GetProt(
void)
const;
228 TProt& SetProt(
void);
242 boolIsNuc(
void)
const;
248 const TNuc& GetNuc(
void)
const;
254 TNuc& SetNuc(
void);
268 boolIsGenome(
void)
const;
274 const TGenome& GetGenome(
void)
const;
294 boolIsStructure(
void)
const;
300 const TStructure& GetStructure(
void)
const;
320 boolIsStrucAnnot(
void)
const;
349 static const char*
constsm_SelectionNames[];
379 boolIsSetTitle(
void)
const;
386 boolCanGetTitle(
void)
const;
389 voidResetTitle(
void);
417 boolIsSetData(
void)
const;
424 boolCanGetData(
void)
const;
427 voidResetData(
void);
433 const TData& GetData(
void)
const;
445 TData& SetData(
void);
454 boolIsSetStyle(
void)
const;
461 boolCanGetStyle(
void)
const;
464 voidResetStyle(
void);
470 TStyleGetStyle(
void)
const;
482 TStyle& SetStyle(
void);
491 boolIsSetLocation(
void)
const;
498 boolCanGetLocation(
void)
const;
501 voidResetLocation(
void);
507 const TLocation& GetLocation(
void)
const;
523 virtual voidReset(
void);
557 if( m_choice != index )
558ThrowInvalidSelection(index);
567DoSelect(index, pool);
574Select(index, reset, 0);
580 returnm_choice == e_Ml;
586 returnm_choice == e_Prot;
592 returnm_choice == e_Nuc;
598 returnm_choice == e_Genome;
604 returnm_choice == e_Structure;
610 returnm_choice == e_StrucAnnot;
644 m_Title= std::forward<CEntrez_general_Base::TTitle>(
value);
User-defined methods of the data storage class.
CEntrez_general_Base â.
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty â pointing to an object and has a non-null value.
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.
#define NCBI_NCBIMIME_EXPORT
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void ResetStyle(void)
Reset Style data member.
NCBI_NS_NCBI::CSerialObject * m_object
bool IsMl(void) const
Check if variant Ml is selected.
TStyle GetStyle(void) const
Get the Style member data.
const TTitle & GetTitle(void) const
Get the Title member data.
bool CanGetData(void) const
Check if it is safe to call GetData method.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsStructure(void) const
Check if variant Structure is selected.
E_Choice
Choice variants.
bool CanGetLocation(void) const
Check if it is safe to call GetLocation method.
const TData & GetData(void) const
Get the Data member data.
DECLARE_INTERNAL_TYPE_INFO()
CEntrez_general_Base & operator=(const CEntrez_general_Base &)
bool CanGetStyle(void) const
Check if it is safe to call GetStyle method.
CEntrez_general_Base(const CEntrez_general_Base &)
C_Data & operator=(const C_Data &)
EEntrez_style
Access to EEntrez_style's attributes (values, names) as defined in spec.
TTitle & SetTitle(void)
Assign a value to Title data member.
bool IsProt(void) const
Check if variant Prot is selected.
bool IsNuc(void) const
Check if variant Nuc is selected.
bool IsSetLocation(void) const
Check if a value has been assigned to Location data member.
bool CanGetTitle(void) const
Check if it is safe to call GetTitle method.
bool IsSetStyle(void) const
Check if a value has been assigned to Style data member.
bool IsStrucAnnot(void) const
Check if variant StrucAnnot is selected.
TStyle & SetStyle(void)
Assign a value to Style data member.
TData & SetData(void)
Assign a value to Data data member.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
DECLARE_INTERNAL_TYPE_INFO()
bool IsGenome(void) const
Check if variant Genome is selected.
TLocation & SetLocation(void)
Assign a value to Location data member.
const TLocation & GetLocation(void) const
Get the Location member data.
void ResetData(void)
Reset Data data member.
bool IsSetData(void) const
Check if a value has been assigned to Data data member.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
bool IsSetTitle(void) const
Check if a value has been assigned to Title data member.
E_Choice Which(void) const
Which variant is currently selected.
CBiostruc_annot_set TStrucAnnot
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
const GenericPointer< typename T::ValueType > T2 value
void SetGenome(CRef< objects::CSeq_entry > entry, objects::CBioSource::TGenome genome)
static void SetTitle(CRef< CSeq_entry > entry, string title)
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