Panda3D
savedContext.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file savedContext.cxx
10  * @author drose
11  * @date 2001-06-11
12  */
13 
14 #include "savedContext.h"
15 #include "indent.h"
16 
17 TypeHandle SavedContext::_type_handle;
18 
19 /**
20  *
21  */
22 void SavedContext::
23 output(std::ostream &out) const {
24  out << "SavedContext " << this;
25 }
26 
27 /**
28  *
29  */
30 void SavedContext::
31 write(std::ostream &out, int indent_level) const {
32  indent(out, indent_level) << *this << "\n";
33 }
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
Definition: indent.cxx:20
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.