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

Search Toolkit Book for CReaderAllocatedConnection

#include <objtools/data_loaders/genbank/reader.hpp>

+ Collaboration diagram for CReaderAllocatedConnection:

Public Types

typedef CReader::TConn TConn
 

Public Member Functions

 CReaderAllocatedConnection (CReaderRequestResult &result, CReader *reader)
 
 ~CReaderAllocatedConnection (void)
 
void Release (void)
 
void Restart (void)
 
bool IsAllocated (void) const
 
 operator TConn (void) const
 

Private Member Functions

 CReaderAllocatedConnection (const CReaderAllocatedConnection &)
 
void operator= (CReaderAllocatedConnection &)
 

Private Attributes

CReaderRequestResultm_Result
 
CReaderm_Reader
 
TConn m_Conn
 
bool m_Restart
 

Detailed Description

Definition at line 419 of file reader.hpp.

Member Typedef Documentation

◆ TConn

Definition at line 422 of file reader.hpp.

Constructor & Destructor Documentation

◆ CReaderAllocatedConnection() [1/2]

CReaderAllocatedConnection::CReaderAllocatedConnection ( CReaderRequestResult result,
CReader reader 
)

Definition at line 1437 of file reader.cpp.

References m_Conn, m_Reader, m_Result, NCBI_THROW, result, and CReader::x_AllocConnection().

◆ ~CReaderAllocatedConnection()

CReaderAllocatedConnection::~CReaderAllocatedConnection ( void  )

◆ CReaderAllocatedConnection() [2/2]

CReaderAllocatedConnection::CReaderAllocatedConnection ( const CReaderAllocatedConnection )
private

Member Function Documentation

◆ IsAllocated()

bool CReaderAllocatedConnection::IsAllocated ( void  ) const
inline

Definition at line 430 of file reader.hpp.

References m_Result.

Referenced by operator TConn().

◆ operator TConn()

CReaderAllocatedConnection::operator TConn ( void  ) const
inline

Definition at line 434 of file reader.hpp.

References _ASSERT, IsAllocated(), and m_Conn.

◆ operator=()

void CReaderAllocatedConnection::operator= ( CReaderAllocatedConnection )
private

◆ Release()

void CReaderAllocatedConnection::Release ( void  )

◆ Restart()

void CReaderAllocatedConnection::Restart ( void  )

Definition at line 1481 of file reader.cpp.

References m_Restart.

Member Data Documentation

◆ m_Conn

TConn CReaderAllocatedConnection::m_Conn
private

◆ m_Reader

CReader* CReaderAllocatedConnection::m_Reader
private

Definition at line 442 of file reader.hpp.

Referenced by CReaderAllocatedConnection(), Release(), and ~CReaderAllocatedConnection().

◆ m_Restart

bool CReaderAllocatedConnection::m_Restart
private

Definition at line 444 of file reader.hpp.

Referenced by Restart(), and ~CReaderAllocatedConnection().

◆ m_Result

CReaderRequestResult* CReaderAllocatedConnection::m_Result
private

The documentation for this class was generated from the following files:
Modified on Wed Sep 04 15:04:06 2024 by modify_doxy.py rev. 669887