41 #ifndef OBJECTS_GENERAL_NAME_STD_BASE_HPP
42 #define OBJECTS_GENERAL_NAME_STD_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
117 bool IsSetLast(
void)
const;
124 bool CanGetLast(
void)
const;
127 void ResetLast(
void);
133 const TLast& GetLast(
void)
const;
146 TLast& SetLast(
void);
155 bool IsSetFirst(
void)
const;
162 bool CanGetFirst(
void)
const;
165 void ResetFirst(
void);
171 const TFirst& GetFirst(
void)
const;
193 bool IsSetMiddle(
void)
const;
200 bool CanGetMiddle(
void)
const;
203 void ResetMiddle(
void);
209 const TMiddle& GetMiddle(
void)
const;
232 bool IsSetFull(
void)
const;
239 bool CanGetFull(
void)
const;
242 void ResetFull(
void);
248 const TFull& GetFull(
void)
const;
261 TFull& SetFull(
void);
271 bool IsSetInitials(
void)
const;
278 bool CanGetInitials(
void)
const;
281 void ResetInitials(
void);
287 const TInitials& GetInitials(
void)
const;
310 bool IsSetSuffix(
void)
const;
317 bool CanGetSuffix(
void)
const;
320 void ResetSuffix(
void);
326 const TSuffix& GetSuffix(
void)
const;
349 bool IsSetTitle(
void)
const;
356 bool CanGetTitle(
void)
const;
359 void ResetTitle(
void);
381 virtual void Reset(
void);
440 m_Last = std::forward<CName_std_Base::TLast>(
value);
581 m_Full = std::forward<CName_std_Base::TFull>(
value);
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
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_GENERAL_EXPORT
bool IsSetSuffix(void) const
Jr, Sr, III Check if a value has been assigned to Suffix data member.
bool CanGetLast(void) const
Check if it is safe to call GetLast method.
bool CanGetInitials(void) const
Check if it is safe to call GetInitials method.
const TInitials & GetInitials(void) const
Get the Initials member data.
bool CanGetFirst(void) const
Check if it is safe to call GetFirst method.
bool IsSetMiddle(void) const
Check if a value has been assigned to Middle data member.
const TFull & GetFull(void) const
Get the Full member data.
bool IsSetFull(void) const
full name eg.
bool IsSetInitials(void) const
first + middle initials Check if a value has been assigned to Initials data member.
bool IsSetTitle(void) const
Dr., Sister, etc Check if a value has been assigned to Title data member.
bool IsSetLast(void) const
Check if a value has been assigned to Last data member.
const TMiddle & GetMiddle(void) const
Get the Middle member data.
const TTitle & GetTitle(void) const
Get the Title member data.
TInitials & SetInitials(void)
Assign a value to Initials data member.
const TSuffix & GetSuffix(void) const
Get the Suffix member data.
CName_std_Base & operator=(const CName_std_Base &)
bool CanGetSuffix(void) const
Check if it is safe to call GetSuffix method.
const TFirst & GetFirst(void) const
Get the First member data.
TMiddle & SetMiddle(void)
Assign a value to Middle data member.
const TLast & GetLast(void) const
Get the Last member data.
TSuffix & SetSuffix(void)
Assign a value to Suffix data member.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
bool IsSetFirst(void) const
Check if a value has been assigned to First data member.
CName_std_Base(const CName_std_Base &)
bool CanGetFull(void) const
Check if it is safe to call GetFull method.
TFirst & SetFirst(void)
Assign a value to First data member.
TLast & SetLast(void)
Assign a value to Last data member.
bool CanGetTitle(void) const
Check if it is safe to call GetTitle method.
DECLARE_INTERNAL_TYPE_INFO()
TTitle & SetTitle(void)
Assign a value to Title data member.
TFull & SetFull(void)
Assign a value to Full data member.
bool CanGetMiddle(void) const
Check if it is safe to call GetMiddle method.
const GenericPointer< typename T::ValueType > T2 value
static void SetTitle(CRef< CSeq_entry > entry, string title)