|
| DBObject (const std::string &path) |
|
| DBObject (const DBObject &obj) |
|
const DBObject & | operator= (const DBObject &obj) |
|
int | getNObjects (const std::string &name) const |
|
DBObjectList & | getObjects (const std::string &name) |
|
const DBObjectList & | getObjects (const std::string &name) const |
|
DBObject & | getObject (const std::string &name, int i=0) |
|
const DBObject & | getObject (const std::string &name, int i=0) const |
|
void | addObjects (const std::string &name, const DBObjectList &obj) |
|
void | addObject (const std::string &name, const DBObject &obj) |
|
DBObject & | operator() (const std::string &name, int index=0) |
|
const DBObject & | operator() (const std::string &name, int index=0) const |
|
StringList | getNameList (bool isfull) const |
|
void | print (bool isfull=true) const |
|
const std::string | sprint (bool isfull) const |
|
void | printHTML (bool isfull=true) const |
|
const std::string | printSQL (const std::string &table, int id) const |
|
void | search (NameValueList &map, const std::string &name="", bool isfull=true) const |
|
int | getDate () const |
|
void | setDate (const Date &date) |
|
void | setDate (int date) |
|
const void * | getValue (const std::string &name) const override |
|
const std::string & | getText (const std::string &name) const override |
|
void | addText (const std::string &name, const std::string &value) override |
|
void | addValue (const std::string &name, const void *value, DBField::Type type, int length) override |
|
void | setValue (const std::string &name, const void *value, int length) override |
|
void | readObject (Reader &reader) override |
|
void | writeObject (Writer &writer) const override |
|
const std::string & | getPath () const |
|
void | setPath (const std::string &path) |
|
int | getId () const |
|
void | setId (int id) |
|
const std::string & | getName () const |
|
void | setName (const std::string &name) |
|
int | getIndex () const |
|
void | setIndex (int index) |
|
DBField::NameList & | getFieldNames () |
|
const DBField::NameList & | getFieldNames () const |
|
DBField::Property | getProperty (const std::string &name) const |
|
bool | hasField (const std::string &name) const |
|
bool | hasValue (const std::string &name) const |
|
bool | hasText (const std::string &name) const |
|
bool | hasObject (const std::string &name) const |
|
void | add (const std::string &name, DBField::Property pro) |
|
void | setValue (const std::string &name, const std::string &value) |
|
void | setText (const std::string &name, const std::string &value) |
|
bool | getBool (const std::string &name, int index=0) const |
|
char | getChar (const std::string &name, int index=0) const |
|
short | getShort (const std::string &name, int index=0) const |
|
int | getInt (const std::string &name, int index=0) const |
|
long long | getLong (const std::string &name, int index=0) const |
|
float | getFloat (const std::string &name, int index=0) const |
|
double | getDouble (const std::string &name, int index=0) const |
|
void | addBool (const std::string &name, bool value) |
|
void | addChar (const std::string &name, char value) |
|
void | addShort (const std::string &name, short value) |
|
void | addInt (const std::string &name, int value) |
|
void | addLong (const std::string &name, long long value) |
|
void | addFloat (const std::string &name, float value) |
|
void | addDouble (const std::string &name, double value) |
|
void | setBool (const std::string &name, bool value, int index=0) |
|
void | setChar (const std::string &name, int value, int index=0) |
|
void | setShort (const std::string &name, int value, int index=0) |
|
void | setInt (const std::string &name, int value, int index=0) |
|
void | setLong (const std::string &name, long long value, int index=0) |
|
void | setFloat (const std::string &name, float value, int index=0) |
|
void | setDouble (const std::string &name, double value, int index=0) |
|
const std::string | getValueText (const std::string &name) const |
|
virtual void | setValueText (const std::string &name, const std::string &value) |
|
Definition at line 21 of file DBObject.h.