CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csIndPrintDown Class Reference

This class is a small helper class to indent a level down and automatically indent up again when this class is destructed. More...

#include <csutil/indprint.h>

List of all members.

Public Member Functions

 csIndPrintDown (csIndPrint &ip, int amount=1)
 Remember current state.


Detailed Description

This class is a small helper class to indent a level down and automatically indent up again when this class is destructed.

So you can use it to keep track of indentation without the risk of miscounting Up() and Down() calls.

Definition at line 64 of file indprint.h.


Constructor & Destructor Documentation

csIndPrintDown::csIndPrintDown csIndPrint ip,
int  amount = 1
[inline]
 

Remember current state.

Definition at line 72 of file indprint.h.

References csIndPrint::Down().


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1