Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Public Types | List of all members
datatools::command Class Reference

Generic command utilities. More...

#include <bayeux/datatools/command_utils.h>

Classes

class  returned_info
 Command returned information. More...
 

Public Types

enum  error_code_type {
  CEC_DEPRECATED = -3, CEC_STOP = -2, CEC_CONTINUE = -1, CEC_SUCCESS = 0,
  CEC_FAILURE = 1, CEC_PARSING_FAILURE = 2, CEC_CONTEXT_INVALID = 3, CEC_NOT_IMPLEMENTED = 8,
  CEC_ABORT = 9, CEC_SCOPE_INVALID = 10, CEC_COMMAND_INVALID = 20, CEC_COMMAND_NO_PRIVILEDGE = 21,
  CEC_COMMAND_INVALID_CONTEXT = 22, CEC_COMMAND_INVALID_SYNTAX = 23, CEC_COMMAND_INVALID_NUMBER_OF_ARGUMENTS = 24, CEC_PARAMETER_INVALID = 30,
  CEC_PARAMETER_INVALID_KEY = 31, CEC_PARAMETER_NO_PRIVILEDGE = 32, CEC_PARAMETER_INVALID_CONTEXT = 33, CEC_PARAMETER_INVALID_TYPE = 34,
  CEC_PARAMETER_UNSET_VALUE = 35, CEC_PARAMETER_INVALID_VALUE = 36, CEC_PARAMETER_INVALID_UNIT = 37
}
 Command error codes. More...
 

Detailed Description

Generic command utilities.

Member Enumeration Documentation

◆ error_code_type

Command error codes.

Enumerator
CEC_DEPRECATED 

Deprecated context without error.

CEC_STOP 

Stop without error (can be used to stop a loop or a pipeline)

CEC_CONTINUE 

Continue without error (can be used to continue a loop or a pipeline)

CEC_SUCCESS 

Generic success.

CEC_FAILURE 

Generic failure.

CEC_PARSING_FAILURE 

Generic parsing error.

CEC_CONTEXT_INVALID 

Invalid context.

CEC_NOT_IMPLEMENTED 

Not implemented feature.

CEC_ABORT 

Abort (can be used to abort a loop or a pipeline)

CEC_SCOPE_INVALID 

Invalid scope (wrong namespace or general context)

CEC_COMMAND_INVALID 

Invalid command (unrecognized command name)

CEC_COMMAND_NO_PRIVILEDGE 

Invalid command priviledge.

CEC_COMMAND_INVALID_CONTEXT 

Invalid command context.

CEC_COMMAND_INVALID_SYNTAX 

Invalid command syntax.

CEC_COMMAND_INVALID_NUMBER_OF_ARGUMENTS 

Invalid command number of arguments.

CEC_PARAMETER_INVALID 

Invalid parameter error.

CEC_PARAMETER_INVALID_KEY 

Invalid parameter key.

CEC_PARAMETER_NO_PRIVILEDGE 

Invalid parameter access mode.

CEC_PARAMETER_INVALID_CONTEXT 

Invalid parameter context.

CEC_PARAMETER_INVALID_TYPE 

Invalid parameter type.

CEC_PARAMETER_UNSET_VALUE 

Unset value.

CEC_PARAMETER_INVALID_VALUE 

Invalid parameter value.

CEC_PARAMETER_INVALID_UNIT 

Invalid parameter unit (for real numbers)


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