hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Public Types | Public Member Functions | Private Attributes | List of all members
hobbes::linedb Class Reference

#include <data.H>

Collaboration diagram for hobbes::linedb:
Collaboration graph

Public Types

typedef std::shared_ptr< linedbptr
 
typedef std::pair< nat, natLineCol
 

Public Member Functions

 linedb (nat stype, const std::string &sdesc)
 
nat sourceType () const
 
const std::string & sourceDesc () const
 
void step (char x)
 
void reset ()
 
LineCol pos (nat i) const
 

Private Attributes

nat stype
 
std::string sdesc
 
nat c
 
nats lp
 

Member Typedef Documentation

◆ LineCol

typedef std::pair<nat, nat> hobbes::linedb::LineCol

◆ ptr

typedef std::shared_ptr<linedb> hobbes::linedb::ptr

Constructor & Destructor Documentation

◆ linedb()

hobbes::linedb::linedb ( nat  stype,
const std::string &  sdesc 
)

Member Function Documentation

◆ pos()

linedb::LineCol hobbes::linedb::pos ( nat  i) const

◆ reset()

void hobbes::linedb::reset ( )

◆ sourceDesc()

const std::string & hobbes::linedb::sourceDesc ( ) const

◆ sourceType()

nat hobbes::linedb::sourceType ( ) const

◆ step()

void hobbes::linedb::step ( char  x)

Member Data Documentation

◆ c

nat hobbes::linedb::c
private

◆ lp

nats hobbes::linedb::lp
private

◆ sdesc

std::string hobbes::linedb::sdesc
private

◆ stype

nat hobbes::linedb::stype
private

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