mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
b0b30ad602
commit
39270a6f2c
@ -4,10 +4,12 @@
|
|||||||
|
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
#include "nodeRelation.h"
|
#include "nodeRelation.h"
|
||||||
|
|
||||||
#include <bamWriter.h>
|
#include <bamWriter.h>
|
||||||
#include <bamReader.h>
|
#include <bamReader.h>
|
||||||
#include <datagramIterator.h>
|
#include <datagramIterator.h>
|
||||||
#include <datagram.h>
|
#include <datagram.h>
|
||||||
|
#include <indent.h>
|
||||||
|
|
||||||
TypeHandle Node::_type_handle;
|
TypeHandle Node::_type_handle;
|
||||||
Node* const Node::Null = (Node*)0L;
|
Node* const Node::Null = (Node*)0L;
|
||||||
@ -261,6 +263,16 @@ output(ostream &out) const {
|
|||||||
out << get_type();
|
out << get_type();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: Node::write
|
||||||
|
// Access: Public, Virtual
|
||||||
|
// Description:
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
void Node::
|
||||||
|
write(ostream &out, int indent_level) const {
|
||||||
|
indent(out, indent_level) << *this << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: Node::propagate_stale_bound
|
// Function: Node::propagate_stale_bound
|
||||||
|
@ -75,6 +75,7 @@ public:
|
|||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
virtual void output(ostream &out) const;
|
virtual void output(ostream &out) const;
|
||||||
|
virtual void write(ostream &out, int indent_level = 0) const;
|
||||||
|
|
||||||
// We reference-count the child pointer, but not the parent pointer,
|
// We reference-count the child pointer, but not the parent pointer,
|
||||||
// to avoid circular reference counting.
|
// to avoid circular reference counting.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user