Panda3D
Functions
dcindent.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "dcbase.h"

Go to the source code of this file.

Functions

std::ostream & indent (std::ostream &out, int indent_level)
 A handy function for doing text formatting. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
1999-01-16

Definition in file dcindent.h.

Function Documentation

◆ indent()

std::ostream& indent ( std::ostream &  out,
int  indent_level 
)

A handy function for doing text formatting.

This function simply outputs the indicated number of spaces to the given output stream, returning the stream itself. Useful for indenting a series of lines of text by a given amount.

Definition at line 20 of file indent.cxx.

Referenced by CollisionLevelState< MaskType >::any_in_bounds(), PhysicsManager::debug_output(), Datagram::dump_hex(), enquote_string(), HermiteCurveCV::format_egg(), TextureMemoryCounter::report(), AngularEulerIntegrator::write(), LinearEulerIntegrator::write(), PointParticleFactory::write(), LinearJitterForce::write(), LinearRandomForce::write(), EggMaterial::write(), EggExternalReference::write(), AngularForce::write(), LinearNoiseForce::write(), LinearSinkForce::write(), LinearSourceForce::write(), LinearFrictionForce::write(), LinearUserDefinedForce::write(), EggPatch::write(), EggLine::write(), PointEmitter::write(), SphereSurfaceEmitter::write(), SphereVolumeEmitter::write(), EggTriangleFan::write(), EggTriangleStrip::write(), AngularIntegrator::write(), AngularVectorForce::write(), OrientedParticleFactory::write(), FltInstanceRef::write(), PointParticle::write(), LinearIntegrator::write(), LineEmitter::write(), RectangleEmitter::write(), EggSAnimData::write(), EggTexture::write(), EggRenderMode::write(), BoxEmitter::write(), LinearVectorForce::write(), TangentRingEmitter::write(), ArcEmitter::write(), OrientedParticle::write(), EggAnimPreload::write(), RingEmitter::write(), BaseForce::write(), EggPolygon::write(), EggComment::write(), ActorNode::write(), LinearControlForce::write(), DCMolecularField::write(), LinearDistanceForce::write(), LinearForce::write(), VrpnClient::write(), ParticleSystemManager::write(), EggPoint::write(), LoaderFileTypeRegistry::write(), DiscEmitter::write(), ForceNode::write(), LinearCylinderVortexForce::write(), PhysicalNode::write(), PNMFileTypeRegistry::write(), InputDeviceSet::write(), ZSpinParticleFactory::write(), BaseIntegrator::write(), AnimChannelScalarTable::write(), MovingPartBase::write(), BaseParticleFactory::write(), BaseParticle::write(), EggNurbsCurve::write(), DCAtomicField::write(), BaseParticleEmitter::write(), EggAttributes::write(), ZSpinParticle::write(), LineParticleRenderer::write(), SceneGraphAnalyzer::write(), AnimGroup::write(), EggXfmAnimData::write(), GeomParticleRenderer::write(), EggXfmSAnim::write(), AnimChannelMatrixXfmTable::write(), BaseParticleRenderer::write(), PointParticleRenderer::write(), SparkleParticleRenderer::write(), FltRecord::write(), EggNurbsSurface::write(), PhysicsManager::write(), DatagramIterator::write(), DoubleBitMask< BMType >::write(), Physical::write(), BitMask< uint32_t, 32 >::write(), EggTransform::write(), PartGroup::write(), ParametricCurveCollection::write(), ButtonThrower::write(), BitArray::write(), PhysicsObject::write(), ParticleSystem::write(), Datagram::write(), DCClass::write(), PartBundle::write(), EggVertex::write(), SpriteParticleRenderer::write(), Texture::write(), PhysicsManager::write_angular_forces(), Physical::write_angular_forces(), InputDevice::write_axes(), EggGroup::write_billboard_flags(), InputDevice::write_buttons(), EggGroup::write_collide_flags(), XFileDataObjectInteger::write_data(), XFileDataObjectString::write_data(), XFileDataObjectDouble::write_data(), XFileDataObjectArray::write_data(), XFileDataNodeTemplate::write_data(), XFileDataObject::write_data(), EggGroup::write_decal_flags(), EggFile::write_description(), ForceNode::write_forces(), ParticleSystem::write_free_particle_fifo(), GeomNode::write_geoms(), EggNamedObject::write_header(), PalettePage::write_image_info(), DCSwitch::write_instance(), DCParameter::write_instance(), FindApproxLevelEntry::write_level(), GeomParticleRenderer::write_linear_forces(), PhysicsManager::write_linear_forces(), Physical::write_linear_forces(), write_long_list(), EggGroup::write_model_flags(), EggGroup::write_object_types(), PhysicsManager::write_physicals(), Physical::write_physics_objects(), TexturePlacement::write_placed(), BaseIntegrator::write_precomputed_angular_matrices(), BaseIntegrator::write_precomputed_linear_matrices(), ParticleSystemManager::write_ps_list(), EggGroup::write_render_mode(), TextureImage::write_scale_info(), TextureImage::write_source_pathnames(), ParticleSystem::write_spawn_templates(), EggGroup::write_switch_flags(), EggGroup::write_tags(), XFileTemplate::write_text(), XFileDataNodeReference::write_text(), XFileDataNodeTemplate::write_text(), XFileDataDef::write_text(), TexturePool::write_texture_types(), DCParameter::write_typedef_name(), FactoryBase::write_types(), GeomNode::write_verbose(), MovingPartBase::write_with_value(), and PartGroup::write_with_value().