GnuCashew ~ GnuCash Enabled Web
GCW
Public Member Functions | Private Attributes | List of all members
GCW::Dbo::Slots::Item Class Reference

Variables Item Class. More...

#include <Item.h>

+ Inheritance diagram for GCW::Dbo::Slots::Item:

Public Member Functions

auto obj_guid () const -> const std::string &
 
auto name () const -> const std::string &
 
auto slot_type () const -> int
 
auto int64_val () const -> long long
 
auto string_val () const -> const std::string &
 
auto double_val () const -> double
 
auto timespec_val () const -> const std::string &
 
auto guid_val () const -> const std::string &
 
auto numeric_val_num () const -> long long
 
auto numeric_val_denom () const -> long long
 
auto gdate_val () const -> const std::string &
 
template<class Action >
void persist (Action &action)
 
- Public Member Functions inherited from GCW::Dbo::BaseItem< Item >
 BaseItem ()
 

Private Attributes

std::string m_obj_guid
 
std::string m_name
 
int m_slot_type
 
long long m_int64_val
 
std::string m_string_val
 
double m_double_val
 
std::string m_timespec_val
 
std::string m_guid_val
 
long long m_numeric_val_num
 
long long m_numeric_val_denom
 
std::string m_gdate_val
 

Additional Inherited Members

- Public Types inherited from GCW::Dbo::BaseItem< Item >
using Ptr = Wt::Dbo::ptr< Item >
 
using Collection = Wt::Dbo::collection< Ptr >
 
using Vector = std::vector< Ptr >
 

Detailed Description

Variables Item Class.

Definition at line 52 of file Item.h.

Member Function Documentation

◆ double_val()

auto GCW::Dbo::Slots::Item::double_val ( ) const -> double
inline

Definition at line 62 of file Item.h.

References m_double_val.

◆ gdate_val()

auto GCW::Dbo::Slots::Item::gdate_val ( ) const -> const std::string &
inline

Definition at line 67 of file Item.h.

References m_gdate_val.

◆ guid_val()

auto GCW::Dbo::Slots::Item::guid_val ( ) const -> const std::string &
inline

Definition at line 64 of file Item.h.

References m_guid_val.

◆ int64_val()

auto GCW::Dbo::Slots::Item::int64_val ( ) const -> long long
inline

Definition at line 60 of file Item.h.

References m_int64_val.

◆ name()

auto GCW::Dbo::Slots::Item::name ( ) const -> const std::string &
inline

Definition at line 58 of file Item.h.

References m_name.

◆ numeric_val_denom()

auto GCW::Dbo::Slots::Item::numeric_val_denom ( ) const -> long long
inline

Definition at line 66 of file Item.h.

References m_numeric_val_denom.

◆ numeric_val_num()

auto GCW::Dbo::Slots::Item::numeric_val_num ( ) const -> long long
inline

Definition at line 65 of file Item.h.

References m_numeric_val_num.

◆ obj_guid()

auto GCW::Dbo::Slots::Item::obj_guid ( ) const -> const std::string &
inline

Definition at line 57 of file Item.h.

References m_obj_guid.

◆ persist()

template<class Action >
void GCW::Dbo::Slots::Item::persist ( Action &  action)
inline

◆ slot_type()

auto GCW::Dbo::Slots::Item::slot_type ( ) const -> int
inline

Definition at line 59 of file Item.h.

References m_slot_type.

◆ string_val()

auto GCW::Dbo::Slots::Item::string_val ( ) const -> const std::string &
inline

Definition at line 61 of file Item.h.

References m_string_val.

◆ timespec_val()

auto GCW::Dbo::Slots::Item::timespec_val ( ) const -> const std::string &
inline

Definition at line 63 of file Item.h.

References m_timespec_val.

Member Data Documentation

◆ m_double_val

double GCW::Dbo::Slots::Item::m_double_val
private

Definition at line 91 of file Item.h.

Referenced by double_val(), and persist().

◆ m_gdate_val

std::string GCW::Dbo::Slots::Item::m_gdate_val
private

Definition at line 96 of file Item.h.

Referenced by gdate_val(), and persist().

◆ m_guid_val

std::string GCW::Dbo::Slots::Item::m_guid_val
private

Definition at line 93 of file Item.h.

Referenced by guid_val(), and persist().

◆ m_int64_val

long long GCW::Dbo::Slots::Item::m_int64_val
private

Definition at line 89 of file Item.h.

Referenced by int64_val(), and persist().

◆ m_name

std::string GCW::Dbo::Slots::Item::m_name
private

Definition at line 87 of file Item.h.

Referenced by name(), and persist().

◆ m_numeric_val_denom

long long GCW::Dbo::Slots::Item::m_numeric_val_denom
private

Definition at line 95 of file Item.h.

Referenced by numeric_val_denom(), and persist().

◆ m_numeric_val_num

long long GCW::Dbo::Slots::Item::m_numeric_val_num
private

Definition at line 94 of file Item.h.

Referenced by numeric_val_num(), and persist().

◆ m_obj_guid

std::string GCW::Dbo::Slots::Item::m_obj_guid
private

Definition at line 86 of file Item.h.

Referenced by obj_guid(), and persist().

◆ m_slot_type

int GCW::Dbo::Slots::Item::m_slot_type
private

Definition at line 88 of file Item.h.

Referenced by persist(), and slot_type().

◆ m_string_val

std::string GCW::Dbo::Slots::Item::m_string_val
private

Definition at line 90 of file Item.h.

Referenced by persist(), and string_val().

◆ m_timespec_val

std::string GCW::Dbo::Slots::Item::m_timespec_val
private

Definition at line 92 of file Item.h.

Referenced by persist(), and timespec_val().


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