config Struct Reference

config Struct Reference#

Rocprofiler SDK Developer API: rocprofiler::sdk::join::config Struct Reference
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
rocprofiler::sdk::join::config Struct Reference

#include "rocprofiler-sdk/cxx/details/join.hpp"

+ Inheritance diagram for rocprofiler::sdk::join::config:
+ Collaboration diagram for rocprofiler::sdk::join::config:

Public Types

using format_flags_t = std::ios_base::fmtflags
 
using base_type = generic_config
 

Public Member Functions

 config ()=default
 
 ~config ()=default
 
 config (const config &)=default
 
 config (config &&) noexcept=default
 
configoperator= (const config &)=default
 
configoperator= (config &&) noexcept=default
 
 config (std::string_view _delim)
 
 config (const char *const _delim)
 
 config (generic_config _cfg)
 
 config (array_config _cfg)
 
 config (pair_config _cfg)
 
 config (generic_config _generic, array_config _array)
 
 config (generic_config _generic, pair_config _pair)
 
 config (array_config _array, pair_config _pair)
 

Static Public Member Functions

static constexpr auto index ()
 

Data Fields

format_flags_t flags = std::ios_base::boolalpha
 
array_config array = {", ", "[", "]"}
 
pair_config pair = {", ", "{", "}"}
 
std::string_view delimiter = {}
 
std::string_view prefix = {}
 
std::string_view suffix = {}
 

Detailed Description

Definition at line 67 of file join.hpp.

Member Typedef Documentation

◆ base_type

◆ format_flags_t

Definition at line 69 of file join.hpp.

Constructor & Destructor Documentation

◆ config() [1/11]

rocprofiler::sdk::join::config::config ( )
default

◆ ~config()

rocprofiler::sdk::join::config::~config ( )
default

◆ config() [2/11]

rocprofiler::sdk::join::config::config ( const config )
default

◆ config() [3/11]

rocprofiler::sdk::join::config::config ( config &&  )
defaultnoexcept

◆ config() [4/11]

rocprofiler::sdk::join::config::config ( std::string_view  _delim)
inline

Definition at line 81 of file join.hpp.

83 {}
generic_config base_type
Definition join.hpp:70

References array.

◆ config() [5/11]

rocprofiler::sdk::join::config::config ( const char *const  _delim)
inline

Definition at line 86 of file join.hpp.

88 {}

◆ config() [6/11]

rocprofiler::sdk::join::config::config ( generic_config  _cfg)
inline

Definition at line 90 of file join.hpp.

92 {}

◆ config() [7/11]

rocprofiler::sdk::join::config::config ( array_config  _cfg)
inline

Definition at line 94 of file join.hpp.

95 : array{_cfg}
96 {}

◆ config() [8/11]

rocprofiler::sdk::join::config::config ( pair_config  _cfg)
inline

Definition at line 98 of file join.hpp.

99 : pair{_cfg}
100 {}

◆ config() [9/11]

rocprofiler::sdk::join::config::config ( generic_config  _generic,
array_config  _array 
)
inline

Definition at line 102 of file join.hpp.

104 , array{_array}
105 {}

◆ config() [10/11]

rocprofiler::sdk::join::config::config ( generic_config  _generic,
pair_config  _pair 
)
inline

Definition at line 107 of file join.hpp.

109 , pair{_pair}
110 {}

◆ config() [11/11]

rocprofiler::sdk::join::config::config ( array_config  _array,
pair_config  _pair 
)
inline

Definition at line 112 of file join.hpp.

113 : array{_array}
114 , pair{_pair}
115 {}

Member Function Documentation

◆ index()

template<unsigned long Idx>
static constexpr auto rocprofiler::sdk::join::triplet_config< Idx >::index ( )
inlinestaticconstexprinherited

Definition at line 57 of file join.hpp.

57{ return Idx; }

◆ operator=() [1/2]

◆ operator=() [2/2]

Field Documentation

◆ array

array_config rocprofiler::sdk::join::config::array = {", ", "[", "]"}

Definition at line 118 of file join.hpp.

118{", ", "[", "]"};

Referenced by config(), and rocprofiler::sdk::join::impl::join_arg().

◆ delimiter

template<unsigned long Idx>
std::string_view rocprofiler::sdk::join::triplet_config< Idx >::delimiter = {}
inherited

◆ flags

format_flags_t rocprofiler::sdk::join::config::flags = std::ios_base::boolalpha

◆ pair

pair_config rocprofiler::sdk::join::config::pair = {", ", "{", "}"}

Definition at line 119 of file join.hpp.

119{", ", "{", "}"};

Referenced by rocprofiler::sdk::join::impl::join_arg().

◆ prefix

template<unsigned long Idx>
std::string_view rocprofiler::sdk::join::triplet_config< Idx >::prefix = {}
inherited

◆ suffix

template<unsigned long Idx>
std::string_view rocprofiler::sdk::join::triplet_config< Idx >::suffix = {}
inherited

Definition at line 60 of file join.hpp.

60{};

Referenced by rocprofiler::sdk::join::join(), and rocprofiler::sdk::join::impl::join_arg().


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