pandaNodeChain.I 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Filename: pandaNodeChain.I
  2. // Created by: drose (21Apr06)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) Carnegie Mellon University. All rights reserved.
  8. //
  9. // All use of this software is subject to the terms of the revised BSD
  10. // license. You should have received a copy of this license along
  11. // with this source code in a file named "LICENSE."
  12. //
  13. ////////////////////////////////////////////////////////////////////
  14. ////////////////////////////////////////////////////////////////////
  15. // Function: PandaNodeChain::Constructor
  16. // Access: Public
  17. // Description:
  18. ////////////////////////////////////////////////////////////////////
  19. INLINE PandaNodeChain::
  20. PandaNodeChain() :
  21. LinkedListNode(true) // This object is the root of a list of PandaNodes.
  22. {
  23. }
  24. ////////////////////////////////////////////////////////////////////
  25. // Function: PandaNodeChain::Destructor
  26. // Access: Public
  27. // Description:
  28. ////////////////////////////////////////////////////////////////////
  29. INLINE PandaNodeChain::
  30. ~PandaNodeChain() {
  31. _next = NULL;
  32. _prev = NULL;
  33. }