KiCad PCB EDA Suite
|
#include <sexpr.h>
Public Member Functions | |
SEXPR_INTEGER (int64_t aValue) | |
SEXPR_INTEGER (int64_t aValue, int aLineNumber) | |
bool | IsList () const |
bool | IsSymbol () const |
bool | IsString () const |
bool | IsDouble () const |
bool | IsInteger () const |
void | AddChild (SEXPR *aChild) |
SEXPR_VECTOR const * | GetChildren () const |
SEXPR * | GetChild (size_t aIndex) const |
size_t | GetNumberOfChildren () const |
int64_t | GetLongInteger () const |
int32_t | GetInteger () const |
float | GetFloat () const |
double | GetDouble () const |
std::string const & | GetString () const |
std::string const & | GetSymbol () const |
SEXPR_LIST * | GetList () |
std::string | AsString (size_t aLevel=0) const |
size_t | GetLineNumber () const |
Public Attributes | |
int64_t | m_value |
Protected Attributes | |
SEXPR_TYPE | m_type |
size_t | m_lineNumber |
|
inline |
|
inherited |
Definition at line 58 of file sexpr.cpp.
References SEXPR::SEXPR_LIST::m_children, and SEXPR::SEXPR_TYPE_LIST.
Referenced by BOOST_AUTO_TEST_CASE(), and SEXPR::SEXPR_LIST::doAddChildren().
|
inherited |
Definition at line 151 of file sexpr.cpp.
Referenced by KI_TEST::SexprConvertsToString().
|
inherited |
Definition at line 48 of file sexpr.cpp.
References SEXPR::SEXPR_TYPE_LIST.
Referenced by BOOST_AUTO_TEST_CASE(), SEXPR::SEXPR_LIST::doScan(), and traverseSEXPR().
|
inherited |
Definition at line 38 of file sexpr.cpp.
References SEXPR::SEXPR_TYPE_LIST.
|
inherited |
Definition at line 105 of file sexpr.cpp.
References SEXPR::SEXPR_TYPE_ATOM_DOUBLE, and SEXPR::SEXPR_TYPE_ATOM_INTEGER.
Referenced by KI_TEST::SexprIsDoubleWithValue().
|
inherited |
Definition at line 141 of file sexpr.cpp.
References SEXPR::SEXPR_TYPE_LIST.
|
inherited |
Definition at line 95 of file sexpr.cpp.
References SEXPR::SEXPR_TYPE_ATOM_INTEGER.
Referenced by KI_TEST::SexprIsIntegerWithValue().
|
inherited |
Definition at line 70 of file sexpr.cpp.
References SEXPR::SEXPR_TYPE_LIST.
Referenced by KI_TEST::SexprIsListOfLength(), and traverseSEXPR().
|
inherited |
Definition at line 80 of file sexpr.cpp.
References SEXPR::SEXPR_TYPE_ATOM_STRING.
Referenced by KI_TEST::SexprIsStringWithValue().
|
inherited |
Definition at line 128 of file sexpr.cpp.
References SEXPR::SEXPR_TYPE_ATOM_SYMBOL.
Referenced by KI_TEST::SexprIsSymbolWithValue().
|
inlineinherited |
Definition at line 52 of file sexpr.h.
References SEXPR::SEXPR_TYPE_ATOM_DOUBLE.
Referenced by KI_TEST::getType().
|
inlineinherited |
Definition at line 53 of file sexpr.h.
References SEXPR::SEXPR_TYPE_ATOM_INTEGER.
Referenced by KI_TEST::getType().
|
inlineinherited |
Definition at line 49 of file sexpr.h.
References SEXPR::SEXPR_TYPE_LIST.
Referenced by KI_TEST::getType(), and traverseSEXPR().
|
inlineinherited |
Definition at line 51 of file sexpr.h.
References SEXPR::SEXPR_TYPE_ATOM_STRING.
Referenced by KI_TEST::getType().
|
inlineinherited |
Definition at line 50 of file sexpr.h.
References SEXPR::SEXPR_TYPE_ATOM_SYMBOL.
Referenced by KI_TEST::getType().
|
protectedinherited |