NCBI C++ ToolKit
Public Member Functions | Protected Attributes | List of all members
CDB_TinyInt Class Reference

Search Toolkit Book for CDB_TinyInt

#include <dbapi/driver/types.hpp>

+ Inheritance diagram for CDB_TinyInt:
+ Collaboration diagram for CDB_TinyInt:

Public Member Functions

 CDB_TinyInt ()
 CDB_TinyInt (const Uint1 &i)
virtual ~CDB_TinyInt (void)
CDB_TinyIntoperator= (const Uint1 &i)
Uint1 Value () const
void * BindVal () const
virtual EDB_Type GetType () const
virtual CDB_ObjectClone () const
virtual void AssignValue (const CDB_Object &v)
- Public Member Functions inherited from CDB_Object
 CDB_Object (bool is_null=true)
virtual ~CDB_Object ()
bool IsNULL () const
virtual void AssignNULL ()
virtual CDB_ObjectShallowClone () const
string GetLogString (void) const

Protected Attributes

Uint1 m_Val

Additional Inherited Members

- Static Public Member Functions inherited from CDB_Object
static CDB_ObjectCreate (EDB_Type type, size_t size=1)
static const char * GetTypeName (EDB_Type db_type, bool throw_on_unknown=true)
- Protected Member Functions inherited from CDB_Object
void SetNULL (bool flag=true)

Detailed Description

Definition at line 400 of file types.hpp.

Constructor & Destructor Documentation

CDB_TinyInt::CDB_TinyInt ( )

Definition at line 756 of file types.cpp.

Referenced by Clone().

CDB_TinyInt::CDB_TinyInt ( const Uint1 i)

Definition at line 763 of file types.cpp.

CDB_TinyInt::~CDB_TinyInt ( void  )

Definition at line 770 of file types.cpp.

Member Function Documentation

void CDB_TinyInt::AssignValue ( const CDB_Object v)

Implements CDB_Object.

Definition at line 785 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_TinyInt, CDB_Object::GetType(), CDB_Object::GetTypeName(), and string.

void* CDB_TinyInt::BindVal ( ) const
CDB_Object * CDB_TinyInt::Clone ( void  ) const

Implements CDB_Object.

Definition at line 780 of file types.cpp.

References CDB_TinyInt(), CDB_Object::IsNULL(), and m_Val.

EDB_Type CDB_TinyInt::GetType ( void  ) const

Implements CDB_Object.

Definition at line 775 of file types.cpp.

References eDB_TinyInt.

CDB_TinyInt& CDB_TinyInt::operator= ( const Uint1 i)

Definition at line 407 of file types.hpp.

References i, m_Val, and CDB_Object::SetNULL().

Uint1 CDB_TinyInt::Value ( ) const

Member Data Documentation

Uint1 CDB_TinyInt::m_Val

Definition at line 421 of file types.hpp.

Referenced by BindVal(), Clone(), operator=(), and Value().

The documentation for this class was generated from the following files:
Modified on Mon Oct 12 11:17:06 2015 by rev. 426318