teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Namespaces | Classes | Typedefs | Enumerations | Functions
teditor::ledger Namespace Reference

Namespaces

 ops
 

Classes

class  Account
 
class  Accounts
 
class  LedgerMode
 
class  LedgerShowMode
 
class  Parser
 
class  Transaction
 

Typedefs

typedef std::set< std::string > Aliases
 
typedef std::pair< std::string, int64_t > AccInfo
 
typedef std::vector< AccInfoAccountsInfo
 
typedef std::vector< TransactionTransactions
 

Enumerations

enum  Tokens {
  Comment = 0, Name, Date, Number,
  Newline, Space, AccountStart, AccountDescription,
  AccountAlias
}
 

Functions

 REGISTER_MODE (LedgerMode, "ledger")
 
 REGISTER_MODE (LedgerShowMode, "ledger-show")
 
parser::LexergetLexer ()
 

Typedef Documentation

◆ AccInfo

typedef std::pair<std::string, int64_t> teditor::ledger::AccInfo

account related info in a transaction

◆ AccountsInfo

typedef std::vector<AccInfo> teditor::ledger::AccountsInfo

all accounts involved in a transaction

◆ Aliases

typedef std::set<std::string> teditor::ledger::Aliases

all aliases of a given Account

◆ Transactions

Enumeration Type Documentation

◆ Tokens

Enumerator
Comment 
Name 
Date 
Number 
Newline 
Space 
AccountStart 
AccountDescription 
AccountAlias 

Function Documentation

◆ getLexer()

parser::Lexer& teditor::ledger::getLexer ( )

◆ REGISTER_MODE() [1/2]

teditor::ledger::REGISTER_MODE ( LedgerMode  ,
"ledger"   
)

◆ REGISTER_MODE() [2/2]

teditor::ledger::REGISTER_MODE ( LedgerShowMode  ,
"ledger-show"   
)