NCBI C++ ToolKit
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members

Represents ASN.1 type Contact-info defined in file submit.asn

Search Toolkit Book for CContact_info_Base

who to contact to discuss the submission More...

#include <objects/submit/Contact_info_.hpp>

+ Inheritance diagram for CContact_info_Base:
+ Collaboration diagram for CContact_info_Base:

Public Types

enum class  E_memberIndex {
  e__allMandatory = 0 , e_name , e_address , e_phone ,
  e_fax , e_email , e_telex , e_owner_id ,
  e_password , e_last_name , e_first_name , e_middle_initial ,
  e_contact
}
 
typedef string TName
 
typedef list< stringTAddress
 
typedef string TPhone
 
typedef string TFax
 
typedef string TEmail
 
typedef string TTelex
 
typedef CObject_id TOwner_id
 
typedef vector< char > TPassword
 
typedef string TLast_name
 
typedef string TFirst_name
 
typedef string TMiddle_initial
 
typedef CAuthor TContact
 
typedef Tparent::CMemberIndex< E_memberIndex, 13 > TmemberIndex
 
- Public Types inherited from CObject
enum  EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern }
 Control filling of newly allocated memory. More...
 
typedef CObjectCounterLocker TLockerType
 Default locker type for CRef. More...
 
typedef atomic< Uint8TCounter
 Counter type is CAtomiCounter. More...
 
typedef Uint8 TCount
 Alias for value type of counter. More...
 

Public Member Functions

 CContact_info_Base (void)
 
virtual ~CContact_info_Base (void)
 
 DECLARE_INTERNAL_TYPE_INFO ()
 
bool IsSetName (void) const
 OBSOLETE: will be removed Check if a value has been assigned to Name data member. More...
 
bool CanGetName (void) const
 Check if it is safe to call GetName method. More...
 
void ResetName (void)
 Reset Name data member. More...
 
const TNameGetName (void) const
 Get the Name member data. More...
 
void SetName (const TName &value)
 Assign a value to Name data member. More...
 
void SetName (TName &&value)
 
TNameSetName (void)
 Assign a value to Name data member. More...
 
bool IsSetAddress (void) const
 Check if a value has been assigned to Address data member. More...
 
bool CanGetAddress (void) const
 Check if it is safe to call GetAddress method. More...
 
void ResetAddress (void)
 Reset Address data member. More...
 
const TAddressGetAddress (void) const
 Get the Address member data. More...
 
TAddressSetAddress (void)
 Assign a value to Address data member. More...
 
bool IsSetPhone (void) const
 Check if a value has been assigned to Phone data member. More...
 
bool CanGetPhone (void) const
 Check if it is safe to call GetPhone method. More...
 
void ResetPhone (void)
 Reset Phone data member. More...
 
const TPhoneGetPhone (void) const
 Get the Phone member data. More...
 
void SetPhone (const TPhone &value)
 Assign a value to Phone data member. More...
 
void SetPhone (TPhone &&value)
 
TPhoneSetPhone (void)
 Assign a value to Phone data member. More...
 
bool IsSetFax (void) const
 Check if a value has been assigned to Fax data member. More...
 
bool CanGetFax (void) const
 Check if it is safe to call GetFax method. More...
 
void ResetFax (void)
 Reset Fax data member. More...
 
const TFaxGetFax (void) const
 Get the Fax member data. More...
 
void SetFax (const TFax &value)
 Assign a value to Fax data member. More...
 
void SetFax (TFax &&value)
 
TFaxSetFax (void)
 Assign a value to Fax data member. More...
 
bool IsSetEmail (void) const
 Check if a value has been assigned to Email data member. More...
 
bool CanGetEmail (void) const
 Check if it is safe to call GetEmail method. More...
 
void ResetEmail (void)
 Reset Email data member. More...
 
const TEmailGetEmail (void) const
 Get the Email member data. More...
 
void SetEmail (const TEmail &value)
 Assign a value to Email data member. More...
 
void SetEmail (TEmail &&value)
 
TEmailSetEmail (void)
 Assign a value to Email data member. More...
 
bool IsSetTelex (void) const
 Check if a value has been assigned to Telex data member. More...
 
bool CanGetTelex (void) const
 Check if it is safe to call GetTelex method. More...
 
void ResetTelex (void)
 Reset Telex data member. More...
 
const TTelexGetTelex (void) const
 Get the Telex member data. More...
 
void SetTelex (const TTelex &value)
 Assign a value to Telex data member. More...
 
void SetTelex (TTelex &&value)
 
TTelexSetTelex (void)
 Assign a value to Telex data member. More...
 
bool IsSetOwner_id (void) const
 for owner accounts Check if a value has been assigned to Owner_id data member. More...
 
bool CanGetOwner_id (void) const
 Check if it is safe to call GetOwner_id method. More...
 
void ResetOwner_id (void)
 Reset Owner_id data member. More...
 
const TOwner_idGetOwner_id (void) const
 Get the Owner_id member data. More...
 
void SetOwner_id (TOwner_id &value)
 Assign a value to Owner_id data member. More...
 
TOwner_idSetOwner_id (void)
 Assign a value to Owner_id data member. More...
 
bool IsSetPassword (void) const
 Check if a value has been assigned to Password data member. More...
 
bool CanGetPassword (void) const
 Check if it is safe to call GetPassword method. More...
 
void ResetPassword (void)
 Reset Password data member. More...
 
const TPasswordGetPassword (void) const
 Get the Password member data. More...
 
TPasswordSetPassword (void)
 Assign a value to Password data member. More...
 
bool IsSetLast_name (void) const
 structured to replace name above Check if a value has been assigned to Last_name data member. More...
 
bool CanGetLast_name (void) const
 Check if it is safe to call GetLast_name method. More...
 
void ResetLast_name (void)
 Reset Last_name data member. More...
 
const TLast_nameGetLast_name (void) const
 Get the Last_name member data. More...
 
void SetLast_name (const TLast_name &value)
 Assign a value to Last_name data member. More...
 
void SetLast_name (TLast_name &&value)
 
TLast_nameSetLast_name (void)
 Assign a value to Last_name data member. More...
 
bool IsSetFirst_name (void) const
 Check if a value has been assigned to First_name data member. More...
 
bool CanGetFirst_name (void) const
 Check if it is safe to call GetFirst_name method. More...
 
void ResetFirst_name (void)
 Reset First_name data member. More...
 
const TFirst_nameGetFirst_name (void) const
 Get the First_name member data. More...
 
void SetFirst_name (const TFirst_name &value)
 Assign a value to First_name data member. More...
 
void SetFirst_name (TFirst_name &&value)
 
TFirst_nameSetFirst_name (void)
 Assign a value to First_name data member. More...
 
bool IsSetMiddle_initial (void) const
 Check if a value has been assigned to Middle_initial data member. More...
 
bool CanGetMiddle_initial (void) const
 Check if it is safe to call GetMiddle_initial method. More...
 
void ResetMiddle_initial (void)
 Reset Middle_initial data member. More...
 
const TMiddle_initialGetMiddle_initial (void) const
 Get the Middle_initial member data. More...
 
void SetMiddle_initial (const TMiddle_initial &value)
 Assign a value to Middle_initial data member. More...
 
void SetMiddle_initial (TMiddle_initial &&value)
 
TMiddle_initialSetMiddle_initial (void)
 Assign a value to Middle_initial data member. More...
 
bool IsSetContact (void) const
 WARNING: this will replace the above Check if a value has been assigned to Contact data member. More...
 
bool CanGetContact (void) const
 Check if it is safe to call GetContact method. More...
 
void ResetContact (void)
 Reset Contact data member. More...
 
const TContactGetContact (void) const
 Get the Contact member data. More...
 
void SetContact (TContact &value)
 Assign a value to Contact data member. More...
 
TContactSetContact (void)
 Assign a value to Contact data member. More...
 
virtual void Reset (void)
 Reset the whole object. More...
 
- Public Member Functions inherited from CSerialObject
 CSerialObject (void)
 
virtual ~CSerialObject (void)
 
virtual const CTypeInfoGetThisTypeInfo (void) const =0
 
virtual void Assign (const CSerialObject &source, ESerialRecursionMode how=eRecursive)
 Set object to copy of another one. More...
 
virtual bool Equals (const CSerialObject &object, ESerialRecursionMode how=eRecursive) const
 Check if both objects contain the same values. More...
 
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const
 Define method for dumping debug information. More...
 
void ThrowUnassigned (TMemberIndex index) const
 
void ThrowUnassigned (TMemberIndex index, const char *file_name, int file_line) const
 
bool HasNamespaceName (void) const
 Check if object data type has namespace name. More...
 
const stringGetNamespaceName (void) const
 Get namespace name. More...
 
bool HasNamespacePrefix (void) const
 Check if data type has namespace prefix. More...
 
const stringGetNamespacePrefix (void) const
 Get namespace prefix. More...
 
- Public Member Functions inherited from CObject
 CObject (void)
 Constructor. More...
 
 CObject (const CObject &src)
 Copy constructor. More...
 
virtual ~CObject (void)
 Destructor. More...
 
CObjectoperator= (const CObject &src) THROWS_NONE
 Assignment operator. More...
 
bool CanBeDeleted (void) const THROWS_NONE
 Check if object can be deleted. More...
 
bool IsAllocatedInPool (void) const THROWS_NONE
 Check if object is allocated in memory pool (not system heap) More...
 
bool Referenced (void) const THROWS_NONE
 Check if object is referenced. More...
 
bool ReferencedOnlyOnce (void) const THROWS_NONE
 Check if object is referenced only once. More...
 
void AddReference (void) const
 Add reference to object. More...
 
void RemoveReference (void) const
 Remove reference to object. More...
 
void ReleaseReference (void) const
 Remove reference without deleting object. More...
 
virtual void DoNotDeleteThisObject (void)
 Mark this object as not allocated in heap – do not delete this object. More...
 
virtual void DoDeleteThisObject (void)
 Mark this object as allocated in heap – object can be deleted. More...
 
void * operator new (size_t size)
 Define new operator for memory allocation. More...
 
void * operator new[] (size_t size)
 Define new[] operator for 'array' memory allocation. More...
 
void operator delete (void *ptr)
 Define delete operator for memory deallocation. More...
 
void operator delete[] (void *ptr)
 Define delete[] operator for memory deallocation. More...
 
void * operator new (size_t size, void *place)
 Define new operator. More...
 
void operator delete (void *ptr, void *place)
 Define delete operator. More...
 
void * operator new (size_t size, CObjectMemoryPool *place)
 Define new operator using memory pool. More...
 
void operator delete (void *ptr, CObjectMemoryPool *place)
 Define delete operator. More...
 
- Public Member Functions inherited from CDebugDumpable
 CDebugDumpable (void)
 
virtual ~CDebugDumpable (void)
 
void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const
 
void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const
 
void DumpToConsole (void) const
 

Private Types

typedef CSerialObject Tparent
 

Private Member Functions

 CContact_info_Base (const CContact_info_Base &)
 
CContact_info_Baseoperator= (const CContact_info_Base &)
 

Private Attributes

Uint4 m_set_State [1]
 
string m_Name
 
list< stringm_Address
 
string m_Phone
 
string m_Fax
 
string m_Email
 
string m_Telex
 
CRef< TOwner_idm_Owner_id
 
vector< char > m_Password
 
string m_Last_name
 
string m_First_name
 
string m_Middle_initial
 
CRef< TContactm_Contact
 

Additional Inherited Members

- Static Public Member Functions inherited from CSerialObject
static void SetVerifyDataThread (ESerialVerifyData verify)
 
static void SetVerifyDataGlobal (ESerialVerifyData verify)
 
static string UnassignedString (void)
 
static CStringUTF8 UnassignedStringUTF8 (void)
 
static char UnassignedByte (void)
 
- Static Public Member Functions inherited from CObject
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (void)
 Define method to throw null pointer exception. More...
 
static NCBI_XNCBI_EXPORT void ThrowNullPointerException (const type_info &type)
 
static EAllocFillMode GetAllocFillMode (void)
 
static void SetAllocFillMode (EAllocFillMode mode)
 
static void SetAllocFillMode (const string &value)
 Set mode from configuration parameter value. More...
 
- Static Public Member Functions inherited from CDebugDumpable
static void EnableDebugDump (bool on)
 
- Static Public Attributes inherited from CSerialObject
static const char * ms_UnassignedStr = "<*unassigned*>"
 
static const char ms_UnassignedByte = char(0xcd)
 
- Static Public Attributes inherited from CObject
static const TCount eCounterBitsCanBeDeleted = 1 << 0
 Define possible object states. More...
 
static const TCount eCounterBitsInPlainHeap = 1 << 1
 Heap signature was found. More...
 
static const TCount eCounterBitsPlaceMask
 Mask for 'in heap' state flags. More...
 
static const int eCounterStep = 1 << 2
 Skip over the "in heap" bits. More...
 
static const TCount eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2)
 Minimal value for valid objects (reference counter is zero) Must be a single bit value. More...
 
static const TCount eCounterStateMask
 Valid object, and object in heap. More...
 
- Protected Member Functions inherited from CObject
virtual void DeleteThis (void)
 Virtual method "deleting" this object. More...
 

Detailed Description

who to contact to discuss the submission

CContact_info_Base

Definition at line 80 of file Contact_info_.hpp.


The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:09:53 2024 by modify_doxy.py rev. 669887