loaderOptions.I 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // Filename: loaderOptions.I
  2. // Created by: drose (05Oct05)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved
  8. //
  9. // All use of this software is subject to the terms of the Panda 3d
  10. // Software license. You should have received a copy of this license
  11. // along with this source code; you will also find a current copy of
  12. // the license at http://etc.cmu.edu/panda3d/docs/license/ .
  13. //
  14. // To contact the maintainers of this program write to
  15. // [email protected] .
  16. //
  17. ////////////////////////////////////////////////////////////////////
  18. ////////////////////////////////////////////////////////////////////
  19. // Function: LoaderOptions::Constructor
  20. // Access: Published
  21. // Description:
  22. ////////////////////////////////////////////////////////////////////
  23. INLINE LoaderOptions::
  24. LoaderOptions(int flags) :
  25. _flags(flags)
  26. {
  27. }
  28. ////////////////////////////////////////////////////////////////////
  29. // Function: LoaderOptions::Copy Constructor
  30. // Access: Published
  31. // Description:
  32. ////////////////////////////////////////////////////////////////////
  33. INLINE LoaderOptions::
  34. LoaderOptions(const LoaderOptions &copy) :
  35. _flags(copy._flags)
  36. {
  37. }
  38. ////////////////////////////////////////////////////////////////////
  39. // Function: LoaderOptions::Copy Assignment Operator
  40. // Access: Published
  41. // Description:
  42. ////////////////////////////////////////////////////////////////////
  43. INLINE void LoaderOptions::
  44. operator = (const LoaderOptions &copy) {
  45. _flags = copy._flags;
  46. }
  47. ////////////////////////////////////////////////////////////////////
  48. // Function: LoaderOptions::set_flags
  49. // Access: Published
  50. // Description:
  51. ////////////////////////////////////////////////////////////////////
  52. INLINE void LoaderOptions::
  53. set_flags(int flags) {
  54. _flags = flags;
  55. }
  56. ////////////////////////////////////////////////////////////////////
  57. // Function: LoaderOptions::get_flags
  58. // Access: Published
  59. // Description:
  60. ////////////////////////////////////////////////////////////////////
  61. INLINE int LoaderOptions::
  62. get_flags() const {
  63. return _flags;
  64. }