DD::Image::Knob::Indent Class Reference
List of all members.
|
Static Public Attributes |
static int | amount |
Detailed Description
Dummy class used to fool C++ into compiling Knob::indent().
Member Data Documentation
DD::Image::Knob::Indent* DD::Image::Knob::indent() Writes the current indentation to the output stream. You use it by doing "o << indent()". This is used by Knob::to_script() to indent lines of text to match the surrounding braces. If you want more indentation, just print spaces after the indent, or feel free to mess with the "Indent::amount" variable, as long as you restore the value after you are done.