TwiceAsNice  2019-02-18
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Nice::ParserFits Class Reference

#include <ParserXpressiveFits.h>

Collaboration diagram for Nice::ParserFits:
Collaboration graph

Public Member Functions

void parse (std::string _str, const Nice::JointPtr &_seed)
 
void parse (std::string _str, const Nice::JointPtr &_seed)
 
void parse (std::string _str, const Nice::JointPtr &_seed)
 

Static Public Member Functions

static ParserFitsinstance ()
 
static ParserFitsinstance ()
 
static ParserFitsinstance ()
 

Public Attributes

boost::xpressive::sregex m_type
 
boost::xpressive::sregex m_actor
 
boost::xpressive::sregex m_attr
 
boost::xpressive::sregex m_key
 
boost::xpressive::sregex multiline
 
boost::xpressive::sregex m_assignment
 
boost::xpressive::sregex m_definition
 
boost::xpressive::sregex m_lvalue
 
boost::xpressive::sregex m_rvalue
 
boost::xpressive::sregex m_comment
 
boost::xpressive::sregex statement
 
boost::xpressive::sregex properties
 
boost::xpressive::sregex m_error
 
boost::xpressive::sregex ws
 
boost::xpressive::sregex m_newline
 

Protected Member Functions

 ParserFits ()
 
std::string atomRuleName (const boost::xpressive::smatch &what, const std::string &_str="")
 
std::string ruleName (const boost::xpressive::smatch &what, std::string _str="")
 
void setAttr (Nice::PropertyPtr &_joint, const std::string &_attr)
 

Private Member Functions

 ParserFits ()
 
 ParserFits ()
 

Private Attributes

std::map< std::string, boost::xpressive::sregex > & rules
 
std::map< boost::xpressive::regex_id_type, std::string > m_idToName
 

Static Private Attributes

static ParserFitss_instance = 0
 

Constructor & Destructor Documentation

◆ ParserFits() [1/3]

Nice::ParserFits::ParserFits ( )
private

◆ ParserFits() [2/3]

Nice::ParserFits::ParserFits ( )
private

◆ ParserFits() [3/3]

Nice::ParserFits::ParserFits ( )
protected

Member Function Documentation

◆ atomRuleName()

std::string Nice::ParserFits::atomRuleName ( const boost::xpressive::smatch &  what,
const std::string &  _str = "" 
)
protected

◆ instance() [1/3]

Nice::ParserFits * Nice::ParserFits::instance ( )
static

◆ instance() [2/3]

static ParserFits* Nice::ParserFits::instance ( )
static

◆ instance() [3/3]

static ParserFits* Nice::ParserFits::instance ( )
static

◆ parse() [1/3]

void Nice::ParserFits::parse ( std::string  _str,
const Nice::JointPtr _seed 
)

◆ parse() [2/3]

void Nice::ParserFits::parse ( std::string  _str,
const Nice::JointPtr _seed 
)

◆ parse() [3/3]

void Nice::ParserFits::parse ( std::string  _str,
const Nice::JointPtr _seed 
)

◆ ruleName()

std::string Nice::ParserFits::ruleName ( const boost::xpressive::smatch &  what,
std::string  _str = "" 
)
protected

◆ setAttr()

void Nice::ParserFits::setAttr ( Nice::PropertyPtr _joint,
const std::string &  _attr 
)
protected

Member Data Documentation

◆ m_actor

boost::xpressive::sregex Nice::ParserFits::m_actor

◆ m_assignment

boost::xpressive::sregex Nice::ParserFits::m_assignment

◆ m_attr

boost::xpressive::sregex Nice::ParserFits::m_attr

◆ m_comment

boost::xpressive::sregex Nice::ParserFits::m_comment

◆ m_definition

boost::xpressive::sregex Nice::ParserFits::m_definition

◆ m_error

boost::xpressive::sregex Nice::ParserFits::m_error

◆ m_idToName

std::map<boost::xpressive::regex_id_type, std::string> Nice::ParserFits::m_idToName
private

◆ m_key

boost::xpressive::sregex Nice::ParserFits::m_key

◆ m_lvalue

boost::xpressive::sregex Nice::ParserFits::m_lvalue

◆ m_newline

boost::xpressive::sregex Nice::ParserFits::m_newline

◆ m_rvalue

boost::xpressive::sregex Nice::ParserFits::m_rvalue

◆ m_type

boost::xpressive::sregex Nice::ParserFits::m_type

◆ multiline

boost::xpressive::sregex Nice::ParserFits::multiline

◆ properties

boost::xpressive::sregex Nice::ParserFits::properties

◆ rules

std::map<std::string, boost::xpressive::sregex>& Nice::ParserFits::rules
private

◆ s_instance

static ParserFits * Nice::ParserFits::s_instance = 0
staticprivate

◆ statement

boost::xpressive::sregex Nice::ParserFits::statement

◆ ws

boost::xpressive::sregex Nice::ParserFits::ws

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