NCBI C++ ToolKit
|
Search Toolkit Book for CMSChargeHandle
#include <objects/omssa/MSChargeHandle.hpp>
Public Member Functions | |
CMSChargeHandle (void) | |
~CMSChargeHandle (void) | |
![]() | |
CMSChargeHandle_Base (void) | |
virtual | ~CMSChargeHandle_Base (void) |
DECLARE_INTERNAL_TYPE_INFO () | |
bool | IsSetCalcplusone (void) const |
do we guess charge one? Check if a value has been assigned to Calcplusone data member. More... | |
bool | CanGetCalcplusone (void) const |
Check if it is safe to call GetCalcplusone method. More... | |
void | ResetCalcplusone (void) |
Reset Calcplusone data member. More... | |
void | SetDefaultCalcplusone (void) |
Assign default value to Calcplusone data member. More... | |
TCalcplusone | GetCalcplusone (void) const |
Get the Calcplusone member data. More... | |
void | SetCalcplusone (TCalcplusone value) |
Assign a value to Calcplusone data member. More... | |
TCalcplusone & | SetCalcplusone (void) |
Assign a value to Calcplusone data member. More... | |
bool | IsSetCalccharge (void) const |
how do we handle charges? Check if a value has been assigned to Calccharge data member. More... | |
bool | CanGetCalccharge (void) const |
Check if it is safe to call GetCalccharge method. More... | |
void | ResetCalccharge (void) |
Reset Calccharge data member. More... | |
void | SetDefaultCalccharge (void) |
Assign default value to Calccharge data member. More... | |
TCalccharge | GetCalccharge (void) const |
Get the Calccharge member data. More... | |
void | SetCalccharge (TCalccharge value) |
Assign a value to Calccharge data member. More... | |
TCalccharge & | SetCalccharge (void) |
Assign a value to Calccharge data member. More... | |
bool | IsSetMincharge (void) const |
if userange, what is the min? Check if a value has been assigned to Mincharge data member. More... | |
bool | CanGetMincharge (void) const |
Check if it is safe to call GetMincharge method. More... | |
void | ResetMincharge (void) |
Reset Mincharge data member. More... | |
void | SetDefaultMincharge (void) |
Assign default value to Mincharge data member. More... | |
TMincharge | GetMincharge (void) const |
Get the Mincharge member data. More... | |
void | SetMincharge (TMincharge value) |
Assign a value to Mincharge data member. More... | |
TMincharge & | SetMincharge (void) |
Assign a value to Mincharge data member. More... | |
bool | IsSetMaxcharge (void) const |
if userange, what is the max? Check if a value has been assigned to Maxcharge data member. More... | |
bool | CanGetMaxcharge (void) const |
Check if it is safe to call GetMaxcharge method. More... | |
void | ResetMaxcharge (void) |
Reset Maxcharge data member. More... | |
void | SetDefaultMaxcharge (void) |
Assign default value to Maxcharge data member. More... | |
TMaxcharge | GetMaxcharge (void) const |
Get the Maxcharge member data. More... | |
void | SetMaxcharge (TMaxcharge value) |
Assign a value to Maxcharge data member. More... | |
TMaxcharge & | SetMaxcharge (void) |
Assign a value to Maxcharge data member. More... | |
bool | IsSetConsidermult (void) const |
at which precursor charge to consider +2 ions? Check if a value has been assigned to Considermult data member. More... | |
bool | CanGetConsidermult (void) const |
Check if it is safe to call GetConsidermult method. More... | |
void | ResetConsidermult (void) |
Reset Considermult data member. More... | |
void | SetDefaultConsidermult (void) |
Assign default value to Considermult data member. More... | |
TConsidermult | GetConsidermult (void) const |
Get the Considermult member data. More... | |
void | SetConsidermult (TConsidermult value) |
Assign a value to Considermult data member. More... | |
TConsidermult & | SetConsidermult (void) |
Assign a value to Considermult data member. More... | |
bool | IsSetPlusone (void) const |
what % of peaks below precursor needed to call as +1 Check if a value has been assigned to Plusone data member. More... | |
bool | CanGetPlusone (void) const |
Check if it is safe to call GetPlusone method. More... | |
void | ResetPlusone (void) |
Reset Plusone data member. More... | |
TPlusone | GetPlusone (void) const |
Get the Plusone member data. More... | |
void | SetPlusone (TPlusone value) |
Assign a value to Plusone data member. More... | |
TPlusone & | SetPlusone (void) |
Assign a value to Plusone data member. More... | |
bool | IsSetMaxproductcharge (void) const |
maximum product ion charge Check if a value has been assigned to Maxproductcharge data member. More... | |
bool | CanGetMaxproductcharge (void) const |
Check if it is safe to call GetMaxproductcharge method. More... | |
void | ResetMaxproductcharge (void) |
Reset Maxproductcharge data member. More... | |
TMaxproductcharge | GetMaxproductcharge (void) const |
Get the Maxproductcharge member data. More... | |
void | SetMaxproductcharge (TMaxproductcharge value) |
Assign a value to Maxproductcharge data member. More... | |
TMaxproductcharge & | SetMaxproductcharge (void) |
Assign a value to Maxproductcharge data member. More... | |
bool | IsSetProdlesspre (void) const |
product charge always less thanor equal to precursor? Check if a value has been assigned to Prodlesspre data member. More... | |
bool | CanGetProdlesspre (void) const |
Check if it is safe to call GetProdlesspre method. More... | |
void | ResetProdlesspre (void) |
Reset Prodlesspre data member. More... | |
TProdlesspre | GetProdlesspre (void) const |
Get the Prodlesspre member data. More... | |
void | SetProdlesspre (TProdlesspre value) |
Assign a value to Prodlesspre data member. More... | |
TProdlesspre & | SetProdlesspre (void) |
Assign a value to Prodlesspre data member. More... | |
bool | IsSetNegative (void) const |
negative ion search if -1, positive ion if 1 Check if a value has been assigned to Negative data member. More... | |
bool | CanGetNegative (void) const |
Check if it is safe to call GetNegative method. More... | |
void | ResetNegative (void) |
Reset Negative data member. More... | |
void | SetDefaultNegative (void) |
Assign default value to Negative data member. More... | |
TNegative | GetNegative (void) const |
Get the Negative member data. More... | |
void | SetNegative (TNegative value) |
Assign a value to Negative data member. More... | |
TNegative & | SetNegative (void) |
Assign a value to Negative data member. More... | |
virtual void | Reset (void) |
Reset the whole object. More... | |
![]() | |
CSerialObject (void) | |
virtual | ~CSerialObject (void) |
virtual const CTypeInfo * | GetThisTypeInfo (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 string & | GetNamespaceName (void) const |
Get namespace name. More... | |
bool | HasNamespacePrefix (void) const |
Check if data type has namespace prefix. More... | |
const string & | GetNamespacePrefix (void) const |
Get namespace prefix. More... | |
![]() | |
CObject (void) | |
Constructor. More... | |
CObject (const CObject &src) | |
Copy constructor. More... | |
virtual | ~CObject (void) |
Destructor. More... | |
CObject & | operator= (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... | |
![]() | |
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 CMSChargeHandle_Base | Tparent |
Private Member Functions | |
CMSChargeHandle (const CMSChargeHandle &value) | |
CMSChargeHandle & | operator= (const CMSChargeHandle &value) |
Additional Inherited Members | |
![]() | |
enum class | E_memberIndex { e__allMandatory = 0 , e_calcplusone , e_calccharge , e_mincharge , e_maxcharge , e_considermult , e_plusone , e_maxproductcharge , e_prodlesspre , e_negative } |
typedef int | TCalcplusone |
typedef int | TCalccharge |
typedef int | TMincharge |
typedef int | TMaxcharge |
typedef int | TConsidermult |
typedef double | TPlusone |
typedef int | TMaxproductcharge |
typedef bool | TProdlesspre |
typedef int | TNegative |
typedef Tparent::CMemberIndex< E_memberIndex, 10 > | TmemberIndex |
![]() | |
enum | EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern } |
Control filling of newly allocated memory. More... | |
typedef CObjectCounterLocker | TLockerType |
Default locker type for CRef. More... | |
typedef atomic< Uint8 > | TCounter |
Counter type is CAtomiCounter. More... | |
typedef Uint8 | TCount |
Alias for value type of counter. More... | |
![]() | |
static void | SetVerifyDataThread (ESerialVerifyData verify) |
static void | SetVerifyDataGlobal (ESerialVerifyData verify) |
static string | UnassignedString (void) |
static CStringUTF8 | UnassignedStringUTF8 (void) |
static char | UnassignedByte (void) |
![]() | |
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 void | EnableDebugDump (bool on) |
![]() | |
static const char * | ms_UnassignedStr = "<*unassigned*>" |
static const char | ms_UnassignedByte = char(0xcd) |
![]() | |
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... | |
![]() | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Definition at line 65 of file MSChargeHandle.hpp.