IoTeX client
Classes | Enumerations | Functions | Variables
iotex Namespace Reference

Classes

class  AbstractHTTP
 
class  Account
 
class  Api
 
class  Connection
 
class  Contract
 
class  Encoder
 
struct  GrpcStatus
 
class  Helpers
 Class that contains helper methods. More...
 
class  Host
 
class  IHTTP
 
class  ParameterValuesDictionary
 
class  Random
 
class  Signer
 
class  Storage
 
class  Xrc20Contract
 

Enumerations

enum  LogModules {
  GENERAL , HTTP , CONTRACT , VALES_COUNT ,
  GENERAL , HTTP , CONTRACT , VALES_COUNT
}
 Enum that contains the different logging modules of the library.
 
enum  IotexLogLevel {
  NONE , ERROR , WARNING , INFO ,
  DEBUG , TRACE , NONE , ERROR ,
  WARNING , INFO , DEBUG , TRACE
}
 Enum representing all the log levels.
 
enum  LogModules {
  GENERAL , HTTP , CONTRACT , VALES_COUNT ,
  GENERAL , HTTP , CONTRACT , VALES_COUNT
}
 Enum that contains the different logging modules of the library.
 
enum  IotexLogLevel {
  NONE , ERROR , WARNING , INFO ,
  DEBUG , TRACE , NONE , ERROR ,
  WARNING , INFO , DEBUG , TRACE
}
 Enum representing all the log levels.
 
enum  GrpcStatusCode {
  OK = 0 , CANCELLED , UNKNOWN , INVALIUD_ARGUMENT ,
  DEADLINE_EXCEEDED , NOT_FOUND , ALREADY_EXISTS , PERMISSION_DENIED ,
  RESOURCE_EXHAUSTED , FAILED_PRECONDITION , ABORTED , OUT_OF_RANGE ,
  UNIMPLEMENTED , INTERNAL , UNAVAILABLE , DATA_LOSS ,
  UNAUTHENTICATED , END
}
 
enum class  ResultCode {
  SUCCESS = 0 , ERROR_HTTP , ERROR_JSON_PARSE , ERROR_BAD_PARAMETER ,
  ERROR_SIGNATURE , ERROR_UNKNOWN , ERROR_STORAGE_OPEN , ERROR_STORAGE_BAD_READ ,
  ERROR_STORAGE_EMPTY , ERROR_GRPC , ERROR_WRONG_TYPE , VALES_COUNT
}
 

Functions

std::unique_ptr< IHTTPmakeHTTP ()
 

Variables

const std::string & generalLogModule = iotex::logModuleNamesLookupTable[0]
 General log module name exposed to the user, so the logger can be used by user code if needed.
 
const std::string logModuleNamesLookupTable [(int) LogModules::VALES_COUNT]
 Lookup table for log module names. This should be only used by the internal library code. More...
 

Detailed Description

For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Variable Documentation

◆ logModuleNamesLookupTable

const std::string iotex::logModuleNamesLookupTable
extern
Initial value:
=
{
"GENERAL",
"HTTP",
"CONTRACT"
}

Lookup table for log module names. This should be only used by the internal library code.