Home Libraries Author Links

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

List of all members.


Detailed Description

Definition at line 508 of file dbsql.hpp.


Public Member Functions

 column (const std::string &name=std::string(), const table::field::type &val=db::null_type(), const table::field::format *pFormat=NULL, bool defval=false)
const std::string & name () const
const std::string & title () const
const table::field::format *& pFormat ()
const table::field::formatpFormat () const
table::field::type render (const table::field::row &rowData, size_t colNr) const
const table::field::typeval () const
bool defval () const
int len () const
int prec () const
bool isSortable () const
void setSortable (bool val=true)
bool isSorted () const
void setSorted (bool val=true)
bool isSorting () const
void setSorting (bool val=true)
bool hasRecno () const
void setHasRecno (bool val=true)
bool isRecnoValid () const
void setRecnoValid (bool val=true)

Friends

struct db::stream< table::column >

Constructor & Destructor Documentation

stm::db::sql::table::column::column ( const std::string &  name = std::string(),
const table::field::type val = db::null_type(),
const table::field::format pFormat = NULL,
bool  defval = false 
)


Member Function Documentation

const std::string& stm::db::sql::table::column::name (  )  const

const std::string& stm::db::sql::table::column::title (  )  const

const table::field::format*& stm::db::sql::table::column::pFormat (  ) 

const table::field::format* stm::db::sql::table::column::pFormat (  )  const

table::field::type stm::db::sql::table::column::render ( const table::field::row rowData,
size_t  colNr 
) const

const table::field::type& stm::db::sql::table::column::val (  )  const

bool stm::db::sql::table::column::defval (  )  const

int stm::db::sql::table::column::len (  )  const

int stm::db::sql::table::column::prec (  )  const

bool stm::db::sql::table::column::isSortable (  )  const

void stm::db::sql::table::column::setSortable ( bool  val = true  ) 

bool stm::db::sql::table::column::isSorted (  )  const

void stm::db::sql::table::column::setSorted ( bool  val = true  ) 

bool stm::db::sql::table::column::isSorting (  )  const

void stm::db::sql::table::column::setSorting ( bool  val = true  ) 

bool stm::db::sql::table::column::hasRecno (  )  const

void stm::db::sql::table::column::setHasRecno ( bool  val = true  ) 

bool stm::db::sql::table::column::isRecnoValid (  )  const

void stm::db::sql::table::column::setRecnoValid ( bool  val = true  ) 


Friends And Related Function Documentation

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

Definition at line 510 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).