RelianceCore  1.4.0
Reliance Thermal Printer API
Data Structures | Macros
RelianceHID.hpp File Reference

Go to the source code of this file.

Data Structures

class  RelianceHID
 Primary interface for interacting with Reliance Thermal Printer. More...
 
struct  RelianceHID::RelianceStatus
 Status response from Reliance printer. More...
 
struct  RelianceHID::Result
 Describes response from all RelianceHID printer commands. More...
 
struct  RelianceHID::Revision
 Describes a firmware revision levels using semver syntax. More...
 

Macros

#define RELIANCECORE_EXPORT
 DLL Export macro. More...
 
#define RELIANCE_HID_VERSION   ("1.4.0")
 API Revision Level. More...
 
#define NAMESPACE_BEGIN(name)   namespace name {
 Convenience macro for namespace declarations. More...
 
#define NAMESPACE_END(name)   }
 Convenience macro for namespace declarations. More...
 

Macro Definition Documentation

#define NAMESPACE_BEGIN (   name)    namespace name {

Convenience macro for namespace declarations.

The macro NAMESPACE_BEGIN(reliancecore) will expand to namespace reliancecore {. This is done to hide the namespace scope from editors and C++ code formatting tools that may otherwise indent the entire file. The corresponding NAMESPACE_END macro also lists the namespace name for improved readability.

Parameters
nameThe name of the namespace scope to open
#define NAMESPACE_END (   name)    }

Convenience macro for namespace declarations.

Closes a namespace (counterpart to NAMESPACE_BEGIN) NAMESPACE_END(reliancecore) will expand to only }.

Parameters
nameThe name of the namespace scope to close
#define RELIANCE_HID_VERSION   ("1.4.0")

API Revision Level.

#define RELIANCECORE_EXPORT

DLL Export macro.