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

Search Toolkit Book for CRfamTool

#include <misc/xmlreaders/rfam_tool.hpp>

+ Collaboration diagram for CRfamTool:

Public Member Functions

 CRfamTool ()
 CRfamTool (const string &xmlfile)
bool GetModelByAccession (const string &accession, CRfamModel &model)
bool GetModelByIdentification (const string &model_identification, CRfamModel &model)

Static Private Member Functions

static bool sx_GetModel (xml::node &node, CRfamModel &model)

Private Attributes

xml::document m_doc

Detailed Description

Definition at line 58 of file rfam_tool.hpp.

Constructor & Destructor Documentation

◆ CRfamTool() [1/2]

CRfamTool::CRfamTool ( )

Definition at line 61 of file rfam_tool.hpp.

◆ CRfamTool() [2/2]

CRfamTool::CRfamTool ( const string xmlfile)

Definition at line 45 of file rfam_tool.cpp.

References m_doc, NULL, and xml::document::swap().

Member Function Documentation

◆ GetModelByAccession()

bool CRfamTool::GetModelByAccession ( const string accession,
CRfamModel model 

◆ GetModelByIdentification()

bool CRfamTool::GetModelByIdentification ( const string model_identification,
CRfamModel model 

◆ sx_GetModel()

bool CRfamTool::sx_GetModel ( xml::node node,
CRfamModel model 

Definition at line 89 of file rfam_tool.cpp.

References CRfamModel::AddParameter(), NON_CONST_ITERATE, and result.

Referenced by GetModelByAccession(), and GetModelByIdentification().

Member Data Documentation

◆ m_doc

xml::document CRfamTool::m_doc

Definition at line 86 of file rfam_tool.hpp.

Referenced by CRfamTool(), GetModelByAccession(), and GetModelByIdentification().

The documentation for this class was generated from the following files:
Modified on Wed May 22 11:34:25 2024 by rev. 669887