|
Isis 3.0 Application Source Code Reference |
Home |
#include <DbPvlMapInsert.h>
Definition at line 39 of file DbPvlMapInsert.h.
Public Types | |
| typedef std::vector< DbColumn > | DbColumnList |
Public Member Functions | |
| DbPvlMapInsert () | |
| DbPvlMapInsert (const std::string &tblname) | |
| DbPvlMapInsert (const std::string &tblname, const DbColumnList &clist) | |
| virtual | ~DbPvlMapInsert () |
| int | size () const |
| std::string | name () const |
| void | setTableName (const std::string &tblname) |
| void | setNull (const std::string &nullv="NULL") |
| std::string | null () const |
| void | add (const DbColumn &column, bool replace=false) |
| void | add (const DbColumnList &columns, bool replace=false) |
| bool | exist (const std::string &name) const |
| const DbColumn & | get (const std::string &name) const |
| const DbColumn & | get (int nth=0) const |
| void | clear () |
| DbStatus | Insert () |
| DbStatus | Insert (Database db) |
| DbStatus | Update (const std::string &where="") |
| DbStatus | Update (Database db, const std::string &where="") |
Static Public Member Functions | |
| static std::string | sqlQuote (const std::string &value) |
| typedef std::vector<DbColumn> DbColumnList |
Definition at line 41 of file DbPvlMapInsert.h.
| DbPvlMapInsert | ( | ) |
Definition at line 37 of file DbPvlMapInsert.cpp.
| DbPvlMapInsert | ( | const std::string & | tblname | ) |
Definition at line 40 of file DbPvlMapInsert.cpp.
| DbPvlMapInsert | ( | const std::string & | tblname, | |
| const DbColumnList & | clist | |||
| ) |
Definition at line 43 of file DbPvlMapInsert.cpp.
| virtual ~DbPvlMapInsert | ( | ) | [inline, virtual] |
Definition at line 45 of file DbPvlMapInsert.h.
| int size | ( | ) | const [inline] |
Definition at line 47 of file DbPvlMapInsert.h.
| std::string name | ( | ) | const [inline] |
Definition at line 48 of file DbPvlMapInsert.h.
| void setTableName | ( | const std::string & | tblname | ) | [inline] |
Definition at line 49 of file DbPvlMapInsert.h.
| void setNull | ( | const std::string & | nullv = "NULL" |
) | [inline] |
Definition at line 51 of file DbPvlMapInsert.h.
| std::string null | ( | ) | const [inline] |
Definition at line 52 of file DbPvlMapInsert.h.
| void add | ( | const DbColumn & | column, | |
| bool | replace = false | |||
| ) |
Definition at line 48 of file DbPvlMapInsert.cpp.
| void add | ( | const DbColumnList & | columns, | |
| bool | replace = false | |||
| ) |
Definition at line 63 of file DbPvlMapInsert.cpp.
| bool exist | ( | const std::string & | name | ) | const |
Definition at line 71 of file DbPvlMapInsert.cpp.
| const DbColumn & get | ( | const std::string & | name | ) | const |
Definition at line 77 of file DbPvlMapInsert.cpp.
| const DbColumn & get | ( | int | nth = 0 |
) | const |
Definition at line 86 of file DbPvlMapInsert.cpp.
| void clear | ( | ) | [inline] |
Definition at line 59 of file DbPvlMapInsert.h.
| DbStatus Insert | ( | ) |
Definition at line 96 of file DbPvlMapInsert.cpp.
| DbStatus Insert | ( | Database | db | ) |
Definition at line 100 of file DbPvlMapInsert.cpp.
| DbStatus Update | ( | const std::string & | where = "" |
) |
Definition at line 104 of file DbPvlMapInsert.cpp.
| DbStatus Update | ( | Database | db, | |
| const std::string & | where = "" | |||
| ) |
Definition at line 108 of file DbPvlMapInsert.cpp.
| std::string sqlQuote | ( | const std::string & | value | ) | [static] |
Definition at line 146 of file DbPvlMapInsert.cpp.