ParameterResult Class Reference
The return type used in all falible parameters methods. More...
#include <result.hh>
Public Member Functions | |
| GZ_TRANSPORT_PARAMETERS_VISIBLE | ParameterResult (ParameterResultType _resultType) | 
| Construct.   | |
| GZ_TRANSPORT_PARAMETERS_VISIBLE | ParameterResult (ParameterResultType _resultType, const std::string &_paramName) | 
| Construct.   | |
| GZ_TRANSPORT_PARAMETERS_VISIBLE | ParameterResult (ParameterResultType _resultType, const std::string &_paramName, const std::string &_paramType) | 
| Construct.   | |
| GZ_TRANSPORT_PARAMETERS_VISIBLE | operator bool () const | 
| Coercion to bool type. True if ParameterErrorType::Success, else False.   | |
| GZ_TRANSPORT_PARAMETERS_VISIBLE const std::string & | ParamName () const | 
| Return the related parameter name.   | |
| GZ_TRANSPORT_PARAMETERS_VISIBLE const std::string & | ParamType () const | 
| Return the related parameter type.   | |
| GZ_TRANSPORT_PARAMETERS_VISIBLE ParameterResultType | ResultType () const | 
| Return the result type.   | |
Detailed Description
The return type used in all falible parameters methods.
Constructor & Destructor Documentation
◆ ParameterResult() [1/3]
      
  | 
  explicit | 
Construct.
- Parameters
 - 
  
_resultType Type of result of the operation.  
◆ ParameterResult() [2/3]
| GZ_TRANSPORT_PARAMETERS_VISIBLE ParameterResult | ( | ParameterResultType | _resultType, | 
| const std::string & | _paramName | ||
| ) | 
Construct.
- Parameters
 - 
  
_resultType Type of result of the operation. _paramName Name of the related parameter.  
◆ ParameterResult() [3/3]
| GZ_TRANSPORT_PARAMETERS_VISIBLE ParameterResult | ( | ParameterResultType | _resultType, | 
| const std::string & | _paramName, | ||
| const std::string & | _paramType | ||
| ) | 
Construct.
- Parameters
 - 
  
_resultType Type of result of the operation. _paramName Name of the related parameter. _paramType Type of the related parameter.  
Member Function Documentation
◆ operator bool()
      
  | 
  explicit | 
Coercion to bool type. True if ParameterErrorType::Success, else False.
◆ ParamName()
| GZ_TRANSPORT_PARAMETERS_VISIBLE const std::string & ParamName | ( | ) | const | 
Return the related parameter name.
◆ ParamType()
| GZ_TRANSPORT_PARAMETERS_VISIBLE const std::string & ParamType | ( | ) | const | 
Return the related parameter type.
◆ ResultType()
| GZ_TRANSPORT_PARAMETERS_VISIBLE ParameterResultType ResultType | ( | ) | const | 
Return the result type.
The documentation for this class was generated from the following file: