NGL  6.5
The NCCA Graphics Library
fmt::ArgList Class Reference

#include <format.h>

+ Collaboration diagram for fmt::ArgList:

Public Types

enum  { MAX_PACKED_ARGS = 16 }
 

Public Member Functions

 ArgList ()
 
 ArgList (ULongLong types, const internal::Value *values)
 
 ArgList (ULongLong types, const internal::Arg *args)
 
internal::Arg operator[] (unsigned index) const
 

Private Member Functions

internal::Arg::Type type (unsigned index) const
 

Private Attributes

uint64_t types_
 
union {
   const internal::Value *   values_
 
   const internal::Arg *   args_
 
}; 
 

Friends

template<typename Char >
class internal::ArgMap
 

Detailed Description

An argument list.

Definition at line 1364 of file format.h.

Member Enumeration Documentation

anonymous enum
Enumerator
MAX_PACKED_ARGS 

Definition at line 1391 of file format.h.

Constructor & Destructor Documentation

fmt::ArgList::ArgList ( )
inline

Definition at line 1393 of file format.h.

fmt::ArgList::ArgList ( ULongLong  types,
const internal::Value values 
)
inline

Definition at line 1395 of file format.h.

fmt::ArgList::ArgList ( ULongLong  types,
const internal::Arg args 
)
inline

Definition at line 1397 of file format.h.

Member Function Documentation

internal::Arg fmt::ArgList::operator[] ( unsigned  index) const
inline

Returns the argument at specified index.

Definition at line 1401 of file format.h.

References fmt::arg(), fmt::internal::Value::NONE, and fmt::internal::Arg::type.

+ Here is the call graph for this function:

internal::Arg::Type fmt::ArgList::type ( unsigned  index) const
inlineprivate

Definition at line 1379 of file format.h.

+ Here is the caller graph for this function:

Friends And Related Function Documentation

template<typename Char >
friend class internal::ArgMap
friend

Definition at line 1387 of file format.h.

Member Data Documentation

union { ... }
const internal::Arg* fmt::ArgList::args_

Definition at line 1376 of file format.h.

uint64_t fmt::ArgList::types_
private

Definition at line 1368 of file format.h.

const internal::Value* fmt::ArgList::values_

Definition at line 1375 of file format.h.


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