41 #ifndef OBJECTS_SCOREMAT_PSSM_BASE_HPP
42 #define OBJECTS_SCOREMAT_PSSM_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
143 bool IsSetIsProtein(
void)
const;
150 bool CanGetIsProtein(
void)
const;
153 void ResetIsProtein(
void);
156 void SetDefaultIsProtein(
void);
184 bool IsSetIdentifier(
void)
const;
191 bool CanGetIdentifier(
void)
const;
194 void ResetIdentifier(
void);
224 bool IsSetNumRows(
void)
const;
231 bool CanGetNumRows(
void)
const;
234 void ResetNumRows(
void);
262 bool IsSetNumColumns(
void)
const;
269 bool CanGetNumColumns(
void)
const;
272 void ResetNumColumns(
void);
305 bool IsSetRowLabels(
void)
const;
312 bool CanGetRowLabels(
void)
const;
315 void ResetRowLabels(
void);
337 bool IsSetByRow(
void)
const;
344 bool CanGetByRow(
void)
const;
347 void ResetByRow(
void);
350 void SetDefaultByRow(
void);
356 TByRow GetByRow(
void)
const;
378 bool IsSetQuery(
void)
const;
385 bool CanGetQuery(
void)
const;
388 void ResetQuery(
void);
394 const TQuery& GetQuery(
void)
const;
420 bool IsSetIntermediateData(
void)
const;
427 bool CanGetIntermediateData(
void)
const;
430 void ResetIntermediateData(
void);
458 bool IsSetFinalData(
void)
const;
465 bool CanGetFinalData(
void)
const;
468 void ResetFinalData(
void);
489 virtual void Reset(
void);
Position-specific scoring matrix.
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
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_SCOREMAT_EXPORT
const TIdentifier & GetIdentifier(void) const
Get the Identifier member data.
const TQuery & GetQuery(void) const
Get the Query member data.
TIsProtein & SetIsProtein(void)
Assign a value to IsProtein data member.
TNumRows GetNumRows(void) const
Get the NumRows member data.
bool IsSetFinalData(void) const
Final representation for the PSSM Check if a value has been assigned to FinalData data member.
CRef< TIntermediateData > m_IntermediateData
bool CanGetByRow(void) const
Check if it is safe to call GetByRow method.
TNumRows & SetNumRows(void)
Assign a value to NumRows data member.
TRowLabels & SetRowLabels(void)
Assign a value to RowLabels data member.
list< string > m_RowLabels
void ResetIsProtein(void)
Reset IsProtein data member.
bool CanGetIsProtein(void) const
Check if it is safe to call GetIsProtein method.
TNumColumns & SetNumColumns(void)
Assign a value to NumColumns data member.
CPssmIntermediateData TIntermediateData
TIsProtein GetIsProtein(void) const
Get the IsProtein member data.
TByRow & SetByRow(void)
Assign a value to ByRow data member.
void ResetNumRows(void)
Reset NumRows data member.
bool CanGetNumColumns(void) const
Check if it is safe to call GetNumColumns method.
bool CanGetRowLabels(void) const
Check if it is safe to call GetRowLabels method.
const TRowLabels & GetRowLabels(void) const
Get the RowLabels member data.
bool IsSetIntermediateData(void) const
both intermediateData and finalData can be provided, but at least one of them must be provided.
bool CanGetIntermediateData(void) const
Check if it is safe to call GetIntermediateData method.
const TFinalData & GetFinalData(void) const
Get the FinalData member data.
bool CanGetFinalData(void) const
Check if it is safe to call GetFinalData method.
void SetDefaultByRow(void)
Assign default value to ByRow data member.
TNumColumns GetNumColumns(void) const
Get the NumColumns member data.
void SetDefaultIsProtein(void)
Assign default value to IsProtein data member.
bool IsSetRowLabels(void) const
row-labels is given to note the order of residue types so that it can be cross-checked between applic...
CRef< TIdentifier > m_Identifier
bool IsSetNumRows(void) const
The dimensions of the matrix are returned so the client can verify that all data was received.
CPssm_Base & operator=(const CPssm_Base &)
list< string > TRowLabels
void ResetByRow(void)
Reset ByRow data member.
bool IsSetQuery(void) const
PSSM representative sequence (master) Check if a value has been assigned to Query data member.
bool CanGetQuery(void) const
Check if it is safe to call GetQuery method.
CPssm_Base(const CPssm_Base &)
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
bool IsSetNumColumns(void) const
number of columns Check if a value has been assigned to NumColumns data member.
bool CanGetNumRows(void) const
Check if it is safe to call GetNumRows method.
const TIntermediateData & GetIntermediateData(void) const
Get the IntermediateData member data.
CRef< TFinalData > m_FinalData
TByRow GetByRow(void) const
Get the ByRow member data.
bool IsSetIdentifier(void) const
PSSM identifier Check if a value has been assigned to Identifier data member.
DECLARE_INTERNAL_TYPE_INFO()
CPssmFinalData TFinalData
bool IsSetIsProtein(void) const
Is the this a protein or nucleotide scoring matrix? Check if a value has been assigned to IsProtein d...
bool IsSetByRow(void) const
are matrices stored row by row? Check if a value has been assigned to ByRow data member.
void ResetNumColumns(void)
Reset NumColumns data member.
bool CanGetIdentifier(void) const
Check if it is safe to call GetIdentifier method.
const GenericPointer< typename T::ValueType > T2 value