OSB_LIB::Account Struct Reference

Collaboration diagram for OSB_LIB::Account:

Collaboration graph
[legend]
List of all members.

Detailed Description

Account Structure.

This structure define the component of Account table.

Definition at line 69 of file account.h.

Public Types

Public Member Functions

Static Public Member Functions

Public Attributes


Member Typedef Documentation

typedef Id<Account> OSB_LIB::Account::Oid

AccountID.

Definition at line 70 of file account.h.


Member Enumeration Documentation

enum OSB_LIB::Account::Side

Debit or credit.

Enumerator:
credit 
debit 

Definition at line 72 of file account.h.


Constructor & Destructor Documentation

OSB_LIB::Account::Account (  )  [inline]

Empty default constructor.

Definition at line 82 of file account.h.

OSB_LIB::Account::Account ( Oid  oid,
const std::string &  ac,
AccountType  tp 
) [inline]

Data member constructor.

Parameters:
oid AccountID.
ac AccountCode.
tp Type.

Definition at line 90 of file account.h.


Member Function Documentation

Oid OSB_LIB::Account::oid (  )  const [inline]

Get AccountID.

Definition at line 94 of file account.h.

References oid_.

static char OSB_LIB::Account::toChar ( Side  sd  )  [static]

Convert a Side to a char.

Parameters:
sd Side enumeration value to convert.
Returns:
The corresponding character value.


Member Data Documentation

std::string OSB_LIB::Account::code_

AcountCode.

Definition at line 97 of file account.h.

Oid OSB_LIB::Account::oid_

AccountID.

Definition at line 96 of file account.h.

Referenced by oid().

AccountType OSB_LIB::Account::type_

AccountType.

Definition at line 98 of file account.h.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:10:32 2006 for OSB Library by  doxygen 1.4.7