Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor::ParserParameter< ParameterType::eBitwiseOred64BitsCheckedText > Class Reference

ParserParameter specialisation for ParameterType::eBitwiseOred64BitsCheckedText. More...

#include <ParserParameter.hpp>

Inheritance diagram for castor::ParserParameter< ParameterType::eBitwiseOred64BitsCheckedText >:
Inheritance graph
[legend]
Collaboration diagram for castor::ParserParameter< ParameterType::eBitwiseOred64BitsCheckedText >:
Collaboration graph
[legend]

Public Member Functions

 ParserParameter (UInt64StrMap const &values, StringView name=ParserParameterStringType< ParameterType::eBitwiseOred64BitsCheckedText >)
 Constructor.
 
 ParserParameter (uint64_t value, UInt64StrMap const &values, StringView name=ParserParameterStringType< ParameterType::eBitwiseOred64BitsCheckedText >)
 Constructor.
 
ParameterType getType () const override
 
ParameterType getBaseType () const override
 
StringView getStrType () const override
 
ParserParameterBaseSPtr clone () const override
 
bool parse (LoggerInstance &logger, String &params) override
 Checks the parameter.
 

Public Attributes

StringView m_name
 
UInt64StrMap const m_values
 

Detailed Description

ParserParameter specialisation for ParameterType::eBitwiseOred64BitsCheckedText.

Constructor & Destructor Documentation

◆ ParserParameter() [1/2]

Constructor.

Parameters
[in]valuesThe values used to validate the parsed value.
[in]nameThe parameter type name.

◆ ParserParameter() [2/2]

castor::ParserParameter< ParameterType::eBitwiseOred64BitsCheckedText >::ParserParameter ( uint64_t value,
UInt64StrMap const & values,
StringView name = ParserParameterStringTypeParameterType::eBitwiseOred64BitsCheckedText > )
inlineexplicit

Constructor.

Member Function Documentation

◆ clone()

Returns
A copy of this parameter.

◆ getBaseType()

Returns
The parameter base type (like ParameterType::eText for ParameterType::eName).

◆ getStrType()

Returns
The parameter string type.

◆ getType()

Returns
The parameter type.

◆ parse()

Checks the parameter.

Parameters
[in,out]loggerThe logger instance.
[in,out]paramsThe text containing the parameter value.
Returns
false if any error occured.

Member Data Documentation

◆ m_name

◆ m_values


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