![]() |
![]() |
#include <Record.h>
Public Member Functions | |
void const * | address (int i) const |
template<typename T > | |
T const & | data (int i) const |
template<typename T > | |
T & | data (int i) |
void | destroy () |
void const * | get (int i) const |
int | index (std::string const &iname) const |
void | init (RecordSpec ispecs) |
bool | isNull (int i) const |
std::string const & | name (int i) const |
Record (RecordSpec ispecs) | |
Record () | |
void | set (int i, void *p) |
void | setNotNull (int i) |
void | setNull (int i) |
size_t | size () const |
void | swap (Record &lh) |
std::type_info const * | type (int i) const |
~Record () | |
Public Attributes | |
std::vector< AnyData > | m_field |
std::vector< bool > | m_null |
boost::shared_ptr< RecordSpecImpl > | specs |
Record::Record | ( | RecordSpec | ispecs | ) | [explicit] |
void const * Record::address | ( | int | i | ) | const |
T& ora::Record::data | ( | int | i | ) | [inline] |
T const& ora::Record::data | ( | int | i | ) | const [inline] |
void Record::destroy | ( | ) |
Definition at line 70 of file Record.cc.
References ora::TypeHandler::destroy(), ora::RecordSpecImpl::Item::handler, i, m_field, m_null, and specs.
void const * Record::get | ( | int | i | ) | const |
int Record::index | ( | std::string const & | iname | ) | const |
void Record::init | ( | RecordSpec | ispecs | ) |
Definition at line 54 of file Record.cc.
References ora::TypeHandler::create(), destroy(), ora::RecordSpecImpl::Item::handler, i, m_field, m_null, asciidump::s, ora::RecordSpec::specs, and specs.
Referenced by Record().
bool ora::Record::isNull | ( | int | i | ) | const [inline] |
std::string const & Record::name | ( | int | i | ) | const |
void Record::set | ( | int | i, |
void * | p | ||
) |
void ora::Record::setNotNull | ( | int | i | ) | [inline] |
void ora::Record::setNull | ( | int | i | ) | [inline] |
size_t ora::Record::size | ( | void | ) | const [inline] |
Definition at line 40 of file Record.h.
References m_null.
Referenced by ora::MultiIndexDataTrie::lookupAndClear().
{ return m_null.size();}
void Record::swap | ( | Record & | lh | ) |
Definition at line 81 of file Record.cc.
References m_field, m_null, and specs.
Referenced by ora::MultiIndexDataTrie::clear(), ora::MultiIndexDataTrie::lookupAndClear(), ora::MultiIndexDataTrie::push(), and swap().
std::type_info const * Record::type | ( | int | i | ) | const |
std::vector<AnyData> ora::Record::m_field |
std::vector<bool> ora::Record::m_null |