17#ifndef AGX_INDENTATION_H
18#define AGX_INDENTATION_H
45 Indentation& operator+= (
int increment) { m_level += increment;
return *
this; }
46 Indentation& operator-= (
int decrement) { m_level -= decrement;
return *
this; }
58 operator String()
const {
return str(); }
68 return indentation.
str() + str;
74 stream << indentation.
str();
AGXCORE_EXPORT agx::String operator+(const std::string &str, const agx::Name &name)
Indentation operator--(int)
String apply(const String &string)
Indent a text, applied for each line in input string.
Indentation & operator--()
agx::UInt getIndentation() const
Indentation & operator++()
Indentation(agx::UInt level)
agx::UInt getLevel() const
Indentation operator++(int)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
std::ostream & operator<<(std::ostream &os, const agx::AddedMassInteraction::Matrix6x6 &m)
AgXString< T > operator+(const Indentation &indentation, const AgXString< T > &str)