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

ParserParameter specialisation for ParameterType::eName. More...

#include <ParserParameter.hpp>

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

Public Member Functions

 ParserParameter ()
 Constructor.
 
 ParserParameter (String rhs)
 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.
 

Detailed Description

ParserParameter specialisation for ParameterType::eName.

Constructor & Destructor Documentation

◆ ParserParameter() [1/2]

Constructor.

◆ ParserParameter() [2/2]

castor::ParserParameter< ParameterType::eName >::ParserParameter ( String rhs)
inlineexplicit

Constructor.

Member Function Documentation

◆ clone()

Returns
A copy of this parameter.

◆ getBaseType()

ParameterType castor::ParserParameter< ParameterType::eName >::getBaseType ( ) const
override

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

◆ getStrType()

StringView castor::ParserParameter< ParameterType::eName >::getStrType ( ) const
override

Returns
The parameter string type.

◆ getType()

Returns
The parameter type.

◆ parse()

bool castor::ParserParameter< ParameterType::eName >::parse ( LoggerInstance & logger,
String & params )
override

Checks the parameter.

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

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