Classes | Macros
vtkPVStringFormatter.h File Reference
#include "vtkLogger.h"
#include "vtkObject.h"
#include "vtkPVVTKExtensionsCoreModule.h"
#include <algorithm>
#include <memory>
#include <sstream>
#include <stack>
#include <vtk_fmt.h>
#include <VTK_FMT(fmt/args.h)>
#include <VTK_FMT(fmt/chrono.h)>
#include <VTK_FMT(fmt/core.h)>
#include <VTK_FMT(fmt/ranges.h)>
Include dependency graph for vtkPVStringFormatter.h:

Go to the source code of this file.

Classes

class  vtkPVStringFormatter
 Utility class used for string formatting. More...
 
class  vtkPVStringFormatter::TraceScope
 This subclass should ONLY be used to enable automatic push/pop of argument scopes in the same scope of code. More...
 
struct  vtkPVStringFormatter::vtkNamedArgument::Value
 

Macros

#define PV_STRING_FORMATTER_SCOPE_0(x, y)   x##y
 
#define PV_STRING_FORMATTER_SCOPE_1(x, y)   PV_STRING_FORMATTER_SCOPE_0(x, y)
 
#define PV_STRING_FORMATTER_SCOPE(...)   vtkPVStringFormatter::TraceScope PV_STRING_FORMATTER_SCOPE_1(_trace_item, __LINE__)(__VA_ARGS__)
 
#define PV_STRING_FORMATTER_NAMED_SCOPE(NAME, ...)
 

Macro Definition Documentation

◆ PV_STRING_FORMATTER_SCOPE_0

#define PV_STRING_FORMATTER_SCOPE_0 (   x,
 
)    x##y

Definition at line 534 of file vtkPVStringFormatter.h.

◆ PV_STRING_FORMATTER_SCOPE_1

#define PV_STRING_FORMATTER_SCOPE_1 (   x,
 
)    PV_STRING_FORMATTER_SCOPE_0(x, y)

Definition at line 535 of file vtkPVStringFormatter.h.

◆ PV_STRING_FORMATTER_SCOPE

#define PV_STRING_FORMATTER_SCOPE (   ...)    vtkPVStringFormatter::TraceScope PV_STRING_FORMATTER_SCOPE_1(_trace_item, __LINE__)(__VA_ARGS__)

Definition at line 536 of file vtkPVStringFormatter.h.

◆ PV_STRING_FORMATTER_NAMED_SCOPE

#define PV_STRING_FORMATTER_NAMED_SCOPE (   NAME,
  ... 
)
Value:
NAME, __VA_ARGS__)
#define PV_STRING_FORMATTER_SCOPE_1(x, y)
This subclass should ONLY be used to enable automatic push/pop of argument scopes in the same scope o...

Definition at line 538 of file vtkPVStringFormatter.h.