NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CAnnotName Class Reference

Search Toolkit Book for CAnnotName

#include <objmgr/annot_name.hpp>

Public Member Functions

 CAnnotName (void)
 
 CAnnotName (const string &name)
 
 CAnnotName (const char *name)
 
bool IsNamed (void) const
 
const stringGetName (void) const
 
void SetUnnamed (void)
 
void SetNamed (const string &name)
 
bool operator< (const CAnnotName &name) const
 
bool operator== (const CAnnotName &name) const
 
bool operator!= (const CAnnotName &name) const
 

Private Attributes

bool m_Named
 
string m_Name
 

Detailed Description

Definition at line 42 of file annot_name.hpp.

Constructor & Destructor Documentation

◆ CAnnotName() [1/3]

CAnnotName::CAnnotName ( void  )
inline

Definition at line 45 of file annot_name.hpp.

◆ CAnnotName() [2/3]

CAnnotName::CAnnotName ( const string name)
inline

Definition at line 49 of file annot_name.hpp.

◆ CAnnotName() [3/3]

CAnnotName::CAnnotName ( const char *  name)
inline

Definition at line 53 of file annot_name.hpp.

Member Function Documentation

◆ GetName()

const string& CAnnotName::GetName ( void  ) const
inline

◆ IsNamed()

bool CAnnotName::IsNamed ( void  ) const
inline

◆ operator!=()

bool CAnnotName::operator!= ( const CAnnotName name) const
inline

Definition at line 87 of file annot_name.hpp.

References m_Name, and m_Named.

◆ operator<()

bool CAnnotName::operator< ( const CAnnotName name) const
inline

Definition at line 79 of file annot_name.hpp.

References m_Name, and m_Named.

◆ operator==()

bool CAnnotName::operator== ( const CAnnotName name) const
inline

Definition at line 83 of file annot_name.hpp.

References m_Name, and m_Named.

◆ SetNamed()

void CAnnotName::SetNamed ( const string name)
inline

◆ SetUnnamed()

void CAnnotName::SetUnnamed ( void  )
inline

Definition at line 68 of file annot_name.hpp.

Referenced by CLDS2_DataLoader::x_LoadTSE(), and CSeq_annot_Info::x_UpdateName().

Member Data Documentation

◆ m_Name

string CAnnotName::m_Name
private

Definition at line 94 of file annot_name.hpp.

Referenced by operator!=(), operator<(), and operator==().

◆ m_Named

bool CAnnotName::m_Named
private

Definition at line 93 of file annot_name.hpp.

Referenced by operator!=(), operator<(), and operator==().


The documentation for this class was generated from the following file:
Modified on Sun Apr 14 05:25:07 2024 by modify_doxy.py rev. 669887