Developer Application Interface (ARC API) v4.5.8
ARC, Inc. GenIV Application Interface
arc::gen4::throwFormat_t< Args > Struct Template Reference

#include <CArcBase.h>

Public Member Functions

 throwFormat_t (const char *pszFormat, const std::source_location &tLocation=std::source_location::current())
 
 throwFormat_t (const std::string &sFormat, const std::source_location &tLocation=std::source_location::current())
 
 throwFormat_t (std::string_view svFormat, const std::source_location &tLocation=std::source_location::current())
 

Public Attributes

std::string m_format
 
std::source_location m_location
 

Detailed Description

template<typename... Args>
struct arc::gen4::throwFormat_t< Args >

The throwArcGen4xxx variable formatter and source location data type. Stores the std::format() formatter and the std::source_location for the throwArcGen4xxx function calls.

Definition at line 65 of file CArcBase.h.

Constructor & Destructor Documentation

◆ throwFormat_t() [1/3]

template<typename... Args>
arc::gen4::throwFormat_t< Args >::throwFormat_t ( const char *  pszFormat,
const std::source_location &  tLocation = std::source_location::current() 
)
inline

The constant character pointer constructor

Parameters
pszFormat- The throwArcGen4xxx function format using the standard format specification.
tLocation- The source location of the call to the throwArcGen4xxx function.
See also
std::format()

Definition at line 72 of file CArcBase.h.

◆ throwFormat_t() [2/3]

template<typename... Args>
arc::gen4::throwFormat_t< Args >::throwFormat_t ( const std::string &  sFormat,
const std::source_location &  tLocation = std::source_location::current() 
)
inline

The std::string constructor

Parameters
pszFormat- The throwArcGen4xxx function format using the standard format specification.
tLocation- The source location of the call to the throwArcGen4xxx function.
See also
std::format()

Definition at line 81 of file CArcBase.h.

◆ throwFormat_t() [3/3]

template<typename... Args>
arc::gen4::throwFormat_t< Args >::throwFormat_t ( std::string_view  svFormat,
const std::source_location &  tLocation = std::source_location::current() 
)
inline

The std::string_view constructor

Parameters
pszFormat- The throwArcGen4xxx function format using the standard format specification.
tLocation- The source location of the call to the throwArcGen4xxx function.
See also
std::format()

Definition at line 90 of file CArcBase.h.

Member Data Documentation

◆ m_format

template<typename... Args>
std::string arc::gen4::throwFormat_t< Args >::m_format

The string argument format

Definition at line 94 of file CArcBase.h.

◆ m_location

template<typename... Args>
std::source_location arc::gen4::throwFormat_t< Args >::m_location

The source location of the throwArcGen4xxx location

Definition at line 96 of file CArcBase.h.