Container for input clauses.
More...
#include <SdlInputClauses.h>
|
void | add (SdlInputClause clause) |
| Add a new clause.
|
|
void | add (std::string type, std::string name, std::string value) |
| Add a new clause.
|
|
void | add (std::string type, std::string name, std::string value, std::string tag) |
| Add a new clause.
|
|
void | add (const SdlInputClauses &clauses) |
| Add all clauses from another clause container.
|
|
void | consume (std::size_t index) |
| Remove a clause by index. Preserves the order of remaining clauses.
|
|
void | consumeBySwapPop (std::size_t index) |
| Remove a clause by index. Does not preserve the order of remaining clauses.
|
|
void | clear () |
| Clear all stored data.
|
|
std::size_t | size () const |
| Get number of clauses.
|
|
std::string | toString () const |
|
const SdlInputClause & | operator[] (std::size_t index) const |
| Get clause by index.
|
|
Container for input clauses.
◆ add() [1/4]
Add all clauses from another clause container.
◆ add() [2/4]
◆ add() [3/4]
void ph::SdlInputClauses::add |
( |
std::string | type, |
|
|
std::string | name, |
|
|
std::string | value ) |
|
inline |
◆ add() [4/4]
void ph::SdlInputClauses::add |
( |
std::string | type, |
|
|
std::string | name, |
|
|
std::string | value, |
|
|
std::string | tag ) |
|
inline |
◆ clear()
void ph::SdlInputClauses::clear |
( |
| ) |
|
|
inline |
◆ consume()
void ph::SdlInputClauses::consume |
( |
std::size_t | index | ) |
|
|
inline |
Remove a clause by index. Preserves the order of remaining clauses.
◆ consumeBySwapPop()
void ph::SdlInputClauses::consumeBySwapPop |
( |
std::size_t | index | ) |
|
|
inline |
Remove a clause by index. Does not preserve the order of remaining clauses.
◆ operator[]()
const SdlInputClause & ph::SdlInputClauses::operator[] |
( |
std::size_t | index | ) |
const |
|
inline |
◆ size()
std::size_t ph::SdlInputClauses::size |
( |
| ) |
const |
|
inline |
◆ toString()
std::string ph::SdlInputClauses::toString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: