HyperDbg Debugger
Loading...
Searching...
No Matches
inipp::Format< CharT > Class Template Reference

#include <inipp.h>

Public Member Functions

virtual bool is_section_start (CharT ch) const
 
virtual bool is_section_end (CharT ch) const
 
virtual bool is_assign (CharT ch) const
 
virtual bool is_comment (CharT ch) const
 
 Format (CharT section_start, CharT section_end, CharT assign, CharT comment, CharT interpol, CharT interpol_start, CharT interpol_sep, CharT interpol_end)
 
 Format ()
 
const std::basic_string< CharT > local_symbol (const std::basic_string< CharT > &name) const
 
const std::basic_string< CharT > global_symbol (const std::basic_string< CharT > &sec_name, const std::basic_string< CharT > &name) const
 

Public Attributes

const CharT char_section_start
 
const CharT char_section_end
 
const CharT char_assign
 
const CharT char_comment
 
const CharT char_interpol
 
const CharT char_interpol_start
 
const CharT char_interpol_sep
 
const CharT char_interpol_end
 

Constructor & Destructor Documentation

◆ Format() [1/2]

template<class CharT >
inipp::Format< CharT >::Format ( CharT section_start,
CharT section_end,
CharT assign,
CharT comment,
CharT interpol,
CharT interpol_start,
CharT interpol_sep,
CharT interpol_end )
inline
153 :
154 char_section_start(section_start), char_section_end(section_end), char_assign(assign), char_comment(comment), char_interpol(interpol), char_interpol_start(interpol_start), char_interpol_sep(interpol_sep), char_interpol_end(interpol_end) { }
const CharT char_section_start
Definition inipp.h:136
const CharT char_interpol_end
Definition inipp.h:151
const CharT char_interpol_start
Definition inipp.h:149
const CharT char_section_end
Definition inipp.h:137
const CharT char_interpol_sep
Definition inipp.h:150
const CharT char_comment
Definition inipp.h:139
const CharT char_assign
Definition inipp.h:138
const CharT char_interpol
Definition inipp.h:148

◆ Format() [2/2]

template<class CharT >
inipp::Format< CharT >::Format ( )
inline
156 :
157 Format('[', ']', '=', ';', '$', '{', ':', '}') { }
Format()
Definition inipp.h:156

Member Function Documentation

◆ global_symbol()

template<class CharT >
const std::basic_string< CharT > inipp::Format< CharT >::global_symbol ( const std::basic_string< CharT > & sec_name,
const std::basic_string< CharT > & name ) const
inline
165 {
166 return local_symbol(sec_name + char_interpol_sep + name);
167 }
const std::basic_string< CharT > local_symbol(const std::basic_string< CharT > &name) const
Definition inipp.h:159

◆ is_assign()

template<class CharT >
virtual bool inipp::Format< CharT >::is_assign ( CharT ch) const
inlinevirtual
144{ return ch == char_assign; }

◆ is_comment()

template<class CharT >
virtual bool inipp::Format< CharT >::is_comment ( CharT ch) const
inlinevirtual
145{ return ch == char_comment; }

◆ is_section_end()

template<class CharT >
virtual bool inipp::Format< CharT >::is_section_end ( CharT ch) const
inlinevirtual
143{ return ch == char_section_end; }

◆ is_section_start()

template<class CharT >
virtual bool inipp::Format< CharT >::is_section_start ( CharT ch) const
inlinevirtual
142{ return ch == char_section_start; }

◆ local_symbol()

template<class CharT >
const std::basic_string< CharT > inipp::Format< CharT >::local_symbol ( const std::basic_string< CharT > & name) const
inline
160 {
162 }

Member Data Documentation

◆ char_assign

template<class CharT >
const CharT inipp::Format< CharT >::char_assign

◆ char_comment

template<class CharT >
const CharT inipp::Format< CharT >::char_comment

◆ char_interpol

template<class CharT >
const CharT inipp::Format< CharT >::char_interpol

◆ char_interpol_end

template<class CharT >
const CharT inipp::Format< CharT >::char_interpol_end

◆ char_interpol_sep

template<class CharT >
const CharT inipp::Format< CharT >::char_interpol_sep

◆ char_interpol_start

template<class CharT >
const CharT inipp::Format< CharT >::char_interpol_start

◆ char_section_end

template<class CharT >
const CharT inipp::Format< CharT >::char_section_end

◆ char_section_start

template<class CharT >
const CharT inipp::Format< CharT >::char_section_start

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