p3dCInstance.cxx 623 B

1234567891011121314151617181920212223242526272829303132
  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 p3dCInstance.cxx
  10. * @author drose
  11. * @date 2009-06-08
  12. */
  13. #include "p3dCInstance.h"
  14. /**
  15. * Constructs a new Instance from an XML description.
  16. */
  17. P3DCInstance::
  18. P3DCInstance(TiXmlElement *xinstance) :
  19. _func(nullptr)
  20. {
  21. xinstance->Attribute("instance_id", &_instance_id);
  22. }
  23. /**
  24. *
  25. */
  26. P3DCInstance::
  27. ~P3DCInstance() {
  28. }