LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst::daf::persistence::BoundVar Class Reference

#include <DbStorageImpl.h>

Inheritance diagram for lsst::daf::persistence::BoundVar:
lsst::daf::base::Citizen

Public Member Functions

 BoundVar (void)
 
 BoundVar (void *location)
 
 BoundVar (BoundVar const &src)
 
- Public Member Functions inherited from lsst::daf::base::Citizen
 Citizen (const std::type_info &)
 
 Citizen (Citizen const &)
 
 ~Citizen ()
 
Citizenoperator= (Citizen const &)
 
std::string repr () const
 Return a string representation of a Citizen. More...
 
void markPersistent (void)
 Mark a Citizen as persistent and not destroyed until process end. More...
 
memId getId () const
 Return the Citizen's ID. More...
 

Public Attributes

enum_field_types _type
 
bool _isNull
 
bool _isUnsigned
 
unsigned long _length
 
void * _data
 

Additional Inherited Members

- Public Types inherited from lsst::daf::base::Citizen
enum  { magicSentinel = 0xdeadbeef }
 
typedef unsigned long memId
 Type of the block's ID. More...
 
typedef memId(* memNewCallback )(const memId cid)
 A function used to register a callback. More...
 
typedef memId(* memCallback )(const Citizen *ptr)
 
- Static Public Member Functions inherited from lsst::daf::base::Citizen
static bool hasBeenCorrupted ()
 Check all allocated blocks for corruption. More...
 
static memId getNextMemId ()
 Return the memId of the next object to be allocated. More...
 
static int init ()
 Called once when the memory system is being initialised. More...
 
static int census (int, memId startingMemId=0)
 How many active Citizens are there? More...
 
static void census (std::ostream &stream, memId startingMemId=0)
 Print a list of all active Citizens to stream, sorted by ID. More...
 
static const std::vector
< const Citizen * > * 
census ()
 Return a (newly allocated) std::vector of active Citizens sorted by ID. More...
 
static memId setNewCallbackId (memId id)
 Call the NewCallback when block is allocated. More...
 
static memId setDeleteCallbackId (memId id)
 Call the current DeleteCallback when block is deleted. More...
 
static memNewCallback setNewCallback (memNewCallback func)
 Set the NewCallback function. More...
 
static memCallback setDeleteCallback (memCallback func)
 Set the DeleteCallback function. More...
 
static memCallback setCorruptionCallback (memCallback func)
 Set the CorruptionCallback function. More...
 

Detailed Description

Definition at line 66 of file DbStorageImpl.h.

Constructor & Destructor Documentation

lsst::daf::persistence::BoundVar::BoundVar ( void  )

Default constructor.

Definition at line 137 of file DbStorageImpl.cc.

137  :
138  lsst::daf::base::Citizen(typeid(*this)), _data(0) {
139 }
Citizen is a class that should be among all LSST classes base classes, and handles basic memory manag...
Definition: Citizen.h:56
lsst::daf::persistence::BoundVar::BoundVar ( void *  location)
explicit

Constructor from pointer.

Definition at line 143 of file DbStorageImpl.cc.

143  :
144  lsst::daf::base::Citizen(typeid(*this)), _data(location) {
145 }
Citizen is a class that should be among all LSST classes base classes, and handles basic memory manag...
Definition: Citizen.h:56
lsst::daf::persistence::BoundVar::BoundVar ( BoundVar const &  src)

Copy constructor.

Definition at line 149 of file DbStorageImpl.cc.

149  :
150  lsst::daf::base::Citizen(typeid(*this)),
151  _type(src._type), _isNull(src._isNull), _isUnsigned(src._isUnsigned),
152  _length(src._length), _data(src._data) {
153 }
Citizen is a class that should be among all LSST classes base classes, and handles basic memory manag...
Definition: Citizen.h:56

Member Data Documentation

void* lsst::daf::persistence::BoundVar::_data

Definition at line 76 of file DbStorageImpl.h.

bool lsst::daf::persistence::BoundVar::_isNull

Definition at line 73 of file DbStorageImpl.h.

bool lsst::daf::persistence::BoundVar::_isUnsigned

Definition at line 74 of file DbStorageImpl.h.

unsigned long lsst::daf::persistence::BoundVar::_length

Definition at line 75 of file DbStorageImpl.h.

enum_field_types lsst::daf::persistence::BoundVar::_type

Definition at line 72 of file DbStorageImpl.h.


The documentation for this class was generated from the following files: