TkN 2.1
Toolkit for Nuclei
tkdb_column Class Reference

Simple structure to store a table column. More...

Detailed Description

Simple structure to store a table column.

Definition at line 48 of file tkdb_column.h.

#include <tkdb_column.h>

Public Member Functions

 tkdb_column ()
 
 tkdb_column (const char *_name, const char *_type)
 
virtual ~tkdb_column ()
 
const char * get_name () const
 
const char * get_type () const
 
tkstring get_value () const
 
bool is_empty ()
 
bool is_text ()
 
void set_name (const char *_name)
 
void set_type (const char *_type)
 
template<typename T >
void set_value (const T &t)
 
void set_value_str (const char *val)
 

Constructor & Destructor Documentation

◆ tkdb_column() [1/2]

tkdb_column ( const char *  _name,
const char *  _type 
)

Definition at line 51 of file tkdb_column.cpp.

◆ tkdb_column() [2/2]

tkdb_column ( )
inline

Definition at line 57 of file tkdb_column.h.

◆ ~tkdb_column()

~tkdb_column ( )
virtualdefault

Member Function Documentation

◆ get_name()

const char * get_name ( ) const
inline

Definition at line 59 of file tkdb_column.h.

◆ get_type()

const char * get_type ( ) const
inline

Definition at line 60 of file tkdb_column.h.

◆ get_value()

tkstring get_value ( ) const
inline

Definition at line 61 of file tkdb_column.h.

◆ is_empty()

bool is_empty ( )
inline

Definition at line 78 of file tkdb_column.h.

◆ is_text()

bool is_text ( )
inline

Definition at line 79 of file tkdb_column.h.

◆ set_name()

void set_name ( const char *  _name)
inline

Definition at line 63 of file tkdb_column.h.

◆ set_type()

void set_type ( const char *  _type)
inline

Definition at line 64 of file tkdb_column.h.

◆ set_value()

void set_value ( const T &  t)
inline

Definition at line 67 of file tkdb_column.h.

◆ set_value_str()

void set_value_str ( const char *  val)
inline

Definition at line 74 of file tkdb_column.h.


The documentation for this class was generated from the following files: