Jive reference manual
|
#include <jive/util/Database.h>
Public Types | |
typedef IntDBColumn | IntColumn |
typedef FloatDBColumn | FloatColumn |
typedef jem::Array< IntColumn * > | IntColArray |
typedef jem::Array< FloatColumn * > | FloatColArray |
Public Member Functions | |
virtual String | getContext () const |
String | getTagName () const |
virtual ItemSet * | getRowItems () const =0 |
virtual void | clearData () |
virtual void | clearAll ()=0 |
virtual void | trimToSize () |
virtual IntColumn * | addIntColumn (const String &name)=0 |
virtual IntColumn * | findIntColumn (const String &name) const |
IntColumn * | getIntColumn (const String &name) const |
virtual IntColArray | getIntColumns () const =0 |
virtual FloatColumn * | addFloatColumn (const String &name)=0 |
virtual FloatColumn * | findFloatColumn (const String &name) const |
FloatColumn * | getFloatColumn (const String &name) const |
virtual FloatColArray | getFloatColumns () const =0 |
virtual void | printTo (PrintWriter &out) const |
void | store (const Properties &globdat) const |
void | store (const String &name, const Properties &globdat) const |
Public Member Functions inherited from jem::NamedObject | |
NamedObject (const String &name="") | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
String | getName () const |
Public Member Functions inherited from jem::Object | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Public Member Functions inherited from jive::util::EventSource | |
virtual void | resetEvents ()=0 |
Static Public Member Functions | |
static String | getTagName (const String &rowItemName) |
static void | printSome (PrintWriter &out, const Dictionary &dbases, const String &tag="") |
static void | printAll (PrintWriter &out, const Properties &globdat) |
static Ref< Self > | find (const Ref< ItemSet > &items, const Properties &globdat) |
static Ref< Database > | find (const String &name, const Ref< ItemSet > &items, const Properties &globdat) |
static Ref< Self > | get (const Ref< ItemSet > &items, const Properties &globdat, const String &context) |
static Ref< Database > | get (const String &name, const Ref< ItemSet > &items, const Properties &globdat, const String &context) |
static Ref< Dictionary > | findFor (const Ref< ItemSet > &items, const Properties &globdat) |
static Ref< Dictionary > | getFor (const Ref< ItemSet > &items, const Properties &globdat) |
Static Public Member Functions inherited from jem::NamedObject | |
static String | makeContext (const String &kind, const String &name) |
Static Public Member Functions inherited from jem::Object | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Public Attributes | |
Event< Self & > | newValuesEvent |
Event< Self & > | newStructEvent |
Static Public Attributes | |
static const char * | MAIN_DB |
Protected Member Functions | |
Database (const String &name="") | |
virtual | ~Database () |
Protected Member Functions inherited from jem::NamedObject | |
virtual | ~NamedObject () |
Protected Member Functions inherited from jem::Collectable | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Protected Member Functions inherited from jive::util::EventSource | |
virtual | ~EventSource () |
virtual void | emitEvents_ (int events)=0 |
Protected Member Functions inherited from jem::Interface | |
virtual | ~Interface () |
Empty destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from jem::NamedObject | |
String | myName_ |
|
explicitprotected |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::NamedObject.
String jive::util::Database::getTagName | ( | ) | const |
|
pure virtual |
Implemented in jive::util::StdDatabase.
|
virtual |
|
pure virtual |
Implemented in jive::util::StdDatabase.
|
virtual |
Implemented in jive::util::StdDatabase.
Reimplemented in jive::util::StdDatabase.
|
pure virtual |
Implemented in jive::util::StdDatabase.
|
pure virtual |
Implemented in jive::util::StdDatabase.
|
virtual |
Reimplemented in jive::util::StdDatabase.
FloatColumn* jive::util::Database::getFloatColumn | ( | const String & | name | ) | const |
|
pure virtual |
Implemented in jive::util::StdDatabase.
|
virtual |
|
static |
|
static |
void jive::util::Database::store | ( | const Properties & | globdat | ) | const |
void jive::util::Database::store | ( | const String & | name, |
const Properties & | globdat | ||
) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Event< Self& > jive::util::Database::newValuesEvent |
Event< Self& > jive::util::Database::newStructEvent |