41 #ifndef OBJECTS_SUBMIT_SUBMIT_BLOCK_BASE_HPP
42 #define OBJECTS_SUBMIT_SUBMIT_BLOCK_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
94 eSubtype_revision = 3,
136 bool IsSetContact(
void)
const;
143 bool CanGetContact(
void)
const;
146 void ResetContact(
void);
152 const TContact& GetContact(
void)
const;
174 bool IsSetCit(
void)
const;
181 bool CanGetCit(
void)
const;
190 const TCit& GetCit(
void)
const;
212 bool IsSetHup(
void)
const;
219 bool CanGetHup(
void)
const;
225 void SetDefaultHup(
void);
231 THup GetHup(
void)
const;
253 bool IsSetReldate(
void)
const;
260 bool CanGetReldate(
void)
const;
263 void ResetReldate(
void);
269 const TReldate& GetReldate(
void)
const;
290 bool IsSetSubtype(
void)
const;
297 bool CanGetSubtype(
void)
const;
300 void ResetSubtype(
void);
328 bool IsSetTool(
void)
const;
335 bool CanGetTool(
void)
const;
338 void ResetTool(
void);
344 const TTool& GetTool(
void)
const;
357 TTool& SetTool(
void);
367 bool IsSetUser_tag(
void)
const;
374 bool CanGetUser_tag(
void)
const;
377 void ResetUser_tag(
void);
383 const TUser_tag& GetUser_tag(
void)
const;
406 bool IsSetComment(
void)
const;
413 bool CanGetComment(
void)
const;
416 void ResetComment(
void);
422 const TComment& GetComment(
void)
const;
438 virtual void Reset(
void);
500 return m_Cit.NotEmpty();
676 m_Tool = std::forward<CSubmit_block_Base::TTool>(
value);
Base class for all serializable objects.
int GetSubtype(CFieldNamePanel *field_name_panel, string &ncRNA_class)
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
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.
#define NCBI_SUBMIT_EXPORT
bool IsSetTool(void) const
tool used to make submission Check if a value has been assigned to Tool data member.
const TTool & GetTool(void) const
Get the Tool member data.
const TReldate & GetReldate(void) const
Get the Reldate member data.
TComment & SetComment(void)
Assign a value to Comment data member.
Tparent::CMemberIndex< E_memberIndex, 9 > TmemberIndex
const TCit & GetCit(void) const
Get the Cit member data.
CRef< TContact > m_Contact
const TComment & GetComment(void) const
Get the Comment member data.
TSubtype & SetSubtype(void)
Assign a value to Subtype data member.
bool CanGetTool(void) const
Check if it is safe to call GetTool method.
bool CanGetHup(void) const
Check if it is safe to call GetHup method.
CSubmit_block_Base(const CSubmit_block_Base &)
TUser_tag & SetUser_tag(void)
Assign a value to User_tag data member.
bool CanGetReldate(void) const
Check if it is safe to call GetReldate method.
void ResetContact(void)
Reset Contact data member.
bool CanGetComment(void) const
Check if it is safe to call GetComment method.
TContact & SetContact(void)
Assign a value to Contact data member.
CRef< TReldate > m_Reldate
void ResetCit(void)
Reset Cit data member.
bool IsSetSubtype(void) const
Check if a value has been assigned to Subtype data member.
bool CanGetContact(void) const
Check if it is safe to call GetContact method.
bool IsSetReldate(void) const
release by date Check if a value has been assigned to Reldate data member.
const TUser_tag & GetUser_tag(void) const
Get the User_tag member data.
void SetDefaultHup(void)
Assign default value to Hup data member.
DECLARE_INTERNAL_TYPE_INFO()
THup & SetHup(void)
Assign a value to Hup data member.
bool CanGetCit(void) const
Check if it is safe to call GetCit method.
void ResetHup(void)
Reset Hup data member.
TTool & SetTool(void)
Assign a value to Tool data member.
CSubmit_block_Base & operator=(const CSubmit_block_Base &)
bool IsSetHup(void) const
hold until publish Check if a value has been assigned to Hup data member.
THup GetHup(void) const
Get the Hup member data.
TSubtype GetSubtype(void) const
Get the Subtype member data.
void ResetSubtype(void)
Reset Subtype data member.
bool IsSetUser_tag(void) const
user supplied id for this submission Check if a value has been assigned to User_tag data member.
const TContact & GetContact(void) const
Get the Contact member data.
bool IsSetCit(void) const
citation for this submission Check if a value has been assigned to Cit data member.
TCit & SetCit(void)
Assign a value to Cit data member.
bool IsSetComment(void) const
user comments/advice to database Check if a value has been assigned to Comment data member.
bool CanGetSubtype(void) const
Check if it is safe to call GetSubtype method.
bool IsSetContact(void) const
who to contact Check if a value has been assigned to Contact data member.
ESubtype
type of submission
bool CanGetUser_tag(void) const
Check if it is safe to call GetUser_tag method.
const GenericPointer< typename T::ValueType > T2 value