Home Libraries Author Links

stm::db::sql::table::descr Class Reference
[DbSql: SQL Interface of Named Persistent Associative Containers]

Inheritance diagram for stm::db::sql::table::descr:

Inheritance graph
[legend]
Collaboration diagram for stm::db::sql::table::descr:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 574 of file dbsql.hpp.


Public Member Functions

 descr ()
 descr (const std::string &type, const table::layout &columns)
 ~descr ()
bool setTypeLayout (const std::string &type, table::layout &columns)
const std::string & type () const
tableactive () const
 If there is an activated corresponding db::sql::table object, return its address, else NULL.

Friends

struct db::stream< table::descr >
class connection

Constructor & Destructor Documentation

stm::db::sql::table::descr::descr (  ) 

stm::db::sql::table::descr::descr ( const std::string &  type,
const table::layout columns 
)

stm::db::sql::table::descr::~descr (  ) 


Member Function Documentation

bool stm::db::sql::table::descr::setTypeLayout ( const std::string &  type,
table::layout columns 
)

const std::string& stm::db::sql::table::descr::type (  )  const

table* stm::db::sql::table::descr::active (  )  const

If there is an activated corresponding db::sql::table object, return its address, else NULL.

The activated corresponding db::sql::table object is set and reset exclusively by class db::sql::connection.


Friends And Related Function Documentation

friend struct db::stream< table::descr > [friend]

Definition at line 576 of file dbsql.hpp.

friend class connection [friend]

Definition at line 577 of file dbsql.hpp.


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).