![]() |
Castor3D 0.16.0
Multiplatform 3D engine
|
Classes | |
struct | BasePrefixer |
Contient une méthode std::basic_string< char_type > operator()() qui génère le préfixe. Plus de détails... | |
struct | BasicIndentBuffer |
Tampon de flux utilisé pour indenter les lignes. Plus de détails... | |
class | BasicIndentBufferManager |
Garde les associations flux/tampon de flux. Plus de détails... | |
struct | BasicLinePrefixTraits |
Préfixe les lignes par leur index. Plus de détails... | |
struct | BasicPrefixBuffer |
Tampon de flux utilisé pour indenter les lignes. Plus de détails... | |
class | BasicPrefixBufferManager |
Garde les associations flux/tampon de flux. Plus de détails... | |
struct | BasicPrefixTraits |
Classe de traits par défaut pour les préfixes. Plus de détails... | |
struct | Indent |
Définitions de type | |
using | SpaceIndentBuffer = BasicIndentBuffer< char > |
using | WSpaceIndentBuffer = BasicIndentBuffer< wchar_t > |
using | TabIndentBuffer = BasicIndentBuffer< char, '\t' > |
using | WTabIndentBuffer = BasicIndentBuffer< wchar_t, L'\t' > |
using | IndentBufferManager = BasicIndentBufferManager< char, std::char_traits< char > > |
using | WIndentBufferManager = BasicIndentBufferManager< wchar_t, std::char_traits< wchar_t > > |
using | Prefix = BasePrefixer< char, BasicPrefixTraits< char > > |
using | WPrefix = BasePrefixer< wchar_t, BasicPrefixTraits< wchar_t > > |
using | LinePrefix = BasePrefixer< char, BasicLinePrefixTraits< char > > |
using | WLinePrefix = BasePrefixer< wchar_t, BasicLinePrefixTraits< wchar_t > > |
using | PrefixBuffer = BasicPrefixBuffer< Prefix, char > |
using | WPrefixBuffer = BasicPrefixBuffer< WPrefix, wchar_t > |
using | LinePrefixBuffer = BasicPrefixBuffer< LinePrefix, char > |
using | WLinePrefixBuffer = BasicPrefixBuffer< WLinePrefix, wchar_t > |
Fonctions | |
long & | indentValue (std::ios_base &ios) |
Récupère la valeur d'indentation pour le flux donné | |
long | getIndent (std::ios_base &ios) |
Récupère la valeur d'indentation pour le flux donné | |
void | setIndent (std::ios_base &ios, unsigned int val) |
Définit la valeur d'indentation pour le flux donné | |
template<typename CharType , typename BufferType = BasicIndentBuffer< CharType >, typename BufferManagerType = BasicIndentBufferManager< CharType >> | |
BufferType * | installIndentBuffer (std::basic_ostream< CharType > &stream) |
Initialise le flux afin de pouvoir l'indenter. | |
template<typename CharType > | |
void | callback (std::ios_base::event ev, std::ios_base &ios, CU_UnusedParam(int, x)) |
Le callback des évènements du flux. | |
template<typename PrefixType , typename CharType , typename BufferType = BasicPrefixBuffer< BasePrefixer< CharType, PrefixType >, CharType >, typename BufferManagerType = BasicPrefixBufferManager< BasePrefixer< CharType, PrefixType >, CharType >> | |
BufferType * | installPrefixBuffer (std::basic_ostream< CharType > &stream) |
Initialise le flux afin de pouvoir l'indenter. | |
template<typename PrefixType , typename CharType > | |
void | callback (std::ios_base::event ev, std::ios_base &ios, CU_UnusedParam(int, x)) |
Le callback des évènements du flux. | |
using castor::format::IndentBufferManager = BasicIndentBufferManager< char, std::char_traits< char > > |
using castor::format::LinePrefix = BasePrefixer< char, BasicLinePrefixTraits< char > > |
using castor::format::LinePrefixBuffer = BasicPrefixBuffer< LinePrefix, char > |
using castor::format::Prefix = BasePrefixer< char, BasicPrefixTraits< char > > |
using castor::format::PrefixBuffer = BasicPrefixBuffer< Prefix, char > |
using castor::format::SpaceIndentBuffer = BasicIndentBuffer< char > |
using castor::format::TabIndentBuffer = BasicIndentBuffer< char, '\t' > |
using castor::format::WIndentBufferManager = BasicIndentBufferManager< wchar_t, std::char_traits< wchar_t > > |
using castor::format::WLinePrefix = BasePrefixer< wchar_t, BasicLinePrefixTraits< wchar_t > > |
using castor::format::WLinePrefixBuffer = BasicPrefixBuffer< WLinePrefix, wchar_t > |
using castor::format::WPrefix = BasePrefixer< wchar_t, BasicPrefixTraits< wchar_t > > |
using castor::format::WPrefixBuffer = BasicPrefixBuffer< WPrefix, wchar_t > |
using castor::format::WSpaceIndentBuffer = BasicIndentBuffer< wchar_t > |
using castor::format::WTabIndentBuffer = BasicIndentBuffer< wchar_t, L'\t' > |
|
inline |
Le callback des évènements du flux.
Références getIndent(), et castor::format::BasicIndentBufferManager< char_type, traits >::instance().
|
inline |
Le callback des évènements du flux.
|
inline |
Récupère la valeur d'indentation pour le flux donné
[in] | ios | Le flux |
Références indentValue().
Référencé par callback().
|
inline |
Récupère la valeur d'indentation pour le flux donné
[in] | ios | Le flux |
Référencé par getIndent(), et setIndent().
|
inline |
Initialise le flux afin de pouvoir l'indenter.
[in] | stream | Le flux |
|
inline |
Initialise le flux afin de pouvoir l'indenter.
[in] | stream | Le flux |
|
inline |
Définit la valeur d'indentation pour le flux donné
[in] | ios | Le flux |
[in] | val | La nouvelle valeur d'indentation |
Références indentValue().