Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::SdlInputClauses Class Referencefinal

Container for input clauses. More...

#include <SdlInputClauses.h>

Public Member Functions

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 SdlInputClauseoperator[] (std::size_t index) const
 Get clause by index.
 

Detailed Description

Container for input clauses.

Member Function Documentation

◆ add() [1/4]

void ph::SdlInputClauses::add ( const SdlInputClauses & clauses)
inline

Add all clauses from another clause container.

◆ add() [2/4]

void ph::SdlInputClauses::add ( SdlInputClause clause)
inline

Add a new clause.

◆ add() [3/4]

void ph::SdlInputClauses::add ( std::string type,
std::string name,
std::string value )
inline

Add a new clause.

◆ add() [4/4]

void ph::SdlInputClauses::add ( std::string type,
std::string name,
std::string value,
std::string tag )
inline

Add a new clause.

◆ clear()

void ph::SdlInputClauses::clear ( )
inline

Clear all stored data.

◆ 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

Get clause by index.

◆ size()

std::size_t ph::SdlInputClauses::size ( ) const
inline

Get number of clauses.

◆ toString()

std::string ph::SdlInputClauses::toString ( ) const
inline

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