41 #ifndef OBJECTS_BLAST_BLAST4_REPLY_BODY_BASE_HPP
42 #define OBJECTS_BLAST_BLAST4_REPLY_BODY_BASE_HPP
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
126 virtual void Reset(
void);
129 virtual void ResetSelection(
void);
135 E_Choice Which(
void)
const;
141 void CheckSelected(E_Choice index)
const;
147 NCBI_NORETURN
void ThrowInvalidSelection(E_Choice index)
const;
155 static string SelectionName(E_Choice index);
200 bool IsFinish_params(
void)
const;
226 bool IsGet_databases(
void)
const;
252 bool IsGet_matrices(
void)
const;
278 bool IsGet_parameters(
void)
const;
304 bool IsGet_paramsets(
void)
const;
330 bool IsGet_programs(
void)
const;
356 bool IsGet_search_results(
void)
const;
382 bool IsGet_sequences(
void)
const;
408 bool IsQueue_search(
void)
const;
434 bool IsGet_queries(
void)
const;
460 bool IsGet_request_info(
void)
const;
486 bool IsGet_sequence_parts(
void)
const;
512 bool IsGet_windowmasked_taxids(
void)
const;
538 bool IsGet_protocol_info(
void)
const;
564 bool IsGet_search_info(
void)
const;
590 bool IsGet_databases_ex(
void)
const;
619 static const char*
const sm_SelectionNames[];
CBlast4_finish_params_reply –.
CBlast4_get_databases_ex_reply –.
CBlast4_get_databases_reply –.
CBlast4_get_matrices_reply –.
CBlast4_get_parameters_reply –.
CBlast4_get_paramsets_reply –.
CBlast4_get_programs_reply –.
CBlast4_get_protocol_info_reply –.
CBlast4_get_queries_reply –.
CBlast4_get_request_info_reply –.
CBlast4_get_search_info_reply –.
CBlast4_get_search_results_reply –.
CBlast4_get_seq_parts_reply –.
CBlast4_get_sequences_reply –.
CBlast4_get_windowmasked_taxids_reply –.
CBlast4_queue_search_reply –.
CBlast4_reply_body_Base –.
Base class for all serializable objects.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_BLAST_EXPORT
CBlast4_get_paramsets_reply TGet_paramsets
bool IsGet_databases_ex(void) const
Check if variant Get_databases_ex is selected.
CBlast4_queue_search_reply TQueue_search
CBlast4_get_queries_reply TGet_queries
CBlast4_get_programs_reply TGet_programs
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
CBlast4_get_sequences_reply TGet_sequences
CBlast4_get_parameters_reply TGet_parameters
bool IsGet_search_results(void) const
Check if variant Get_search_results is selected.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool IsGet_sequences(void) const
Check if variant Get_sequences is selected.
DECLARE_INTERNAL_TYPE_INFO()
CBlast4_get_databases_reply TGet_databases
bool IsGet_programs(void) const
Check if variant Get_programs is selected.
bool IsQueue_search(void) const
Check if variant Queue_search is selected.
bool IsFinish_params(void) const
Check if variant Finish_params is selected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
CBlast4_get_protocol_info_reply TGet_protocol_info
CBlast4_get_windowmasked_taxids_reply TGet_windowmasked_taxids
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsGet_parameters(void) const
Check if variant Get_parameters is selected.
NCBI_NS_NCBI::CSerialObject * m_object
CBlast4_get_seq_parts_reply TGet_sequence_parts
bool IsGet_databases(void) const
Check if variant Get_databases is selected.
CBlast4_get_search_info_reply TGet_search_info
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
E_Choice Which(void) const
Which variant is currently selected.
CBlast4_get_databases_ex_reply TGet_databases_ex
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsGet_sequence_parts(void) const
Check if variant Get_sequence_parts is selected.
bool IsGet_search_info(void) const
Check if variant Get_search_info is selected.
bool IsGet_matrices(void) const
Check if variant Get_matrices is selected.
CBlast4_get_search_results_reply TGet_search_results
CBlast4_reply_body_Base & operator=(const CBlast4_reply_body_Base &)
CBlast4_finish_params_reply TFinish_params
CBlast4_get_request_info_reply TGet_request_info
bool IsGet_windowmasked_taxids(void) const
Check if variant Get_windowmasked_taxids is selected.
bool IsGet_paramsets(void) const
Check if variant Get_paramsets is selected.
CBlast4_reply_body_Base(const CBlast4_reply_body_Base &)
bool IsGet_protocol_info(void) const
Check if variant Get_protocol_info is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
CBlast4_get_matrices_reply TGet_matrices
bool IsGet_queries(void) const
Check if variant Get_queries is selected.
bool IsGet_request_info(void) const
Check if variant Get_request_info is selected.
@ e_Get_windowmasked_taxids
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value