Panda3D

loaderOptions.I

00001 // Filename: loaderOptions.I
00002 // Created by:  drose (05Oct05)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: LoaderOptions::Constructor
00018 //       Access: Published
00019 //  Description:
00020 ////////////////////////////////////////////////////////////////////
00021 INLINE LoaderOptions::
00022 LoaderOptions(int flags, int texture_flags) : 
00023   _flags(flags), _texture_flags(texture_flags)
00024 {
00025 }
00026 
00027 ////////////////////////////////////////////////////////////////////
00028 //     Function: LoaderOptions::Copy Constructor
00029 //       Access: Published
00030 //  Description:
00031 ////////////////////////////////////////////////////////////////////
00032 INLINE LoaderOptions::
00033 LoaderOptions(const LoaderOptions &copy) :
00034   _flags(copy._flags),
00035   _texture_flags(copy._texture_flags)
00036 {
00037 }
00038 
00039 ////////////////////////////////////////////////////////////////////
00040 //     Function: LoaderOptions::Copy Assignment Operator
00041 //       Access: Published
00042 //  Description:
00043 ////////////////////////////////////////////////////////////////////
00044 INLINE void LoaderOptions::
00045 operator = (const LoaderOptions &copy) {
00046   _flags = copy._flags;
00047   _texture_flags = copy._texture_flags;
00048 }
00049 
00050 ////////////////////////////////////////////////////////////////////
00051 //     Function: LoaderOptions::set_flags
00052 //       Access: Published
00053 //  Description:
00054 ////////////////////////////////////////////////////////////////////
00055 INLINE void LoaderOptions::
00056 set_flags(int flags) {
00057   _flags = flags;
00058 }
00059 
00060 ////////////////////////////////////////////////////////////////////
00061 //     Function: LoaderOptions::get_flags
00062 //       Access: Published
00063 //  Description:
00064 ////////////////////////////////////////////////////////////////////
00065 INLINE int LoaderOptions::
00066 get_flags() const {
00067   return _flags;
00068 }
00069 
00070 ////////////////////////////////////////////////////////////////////
00071 //     Function: LoaderOptions::set_texture_flags
00072 //       Access: Published
00073 //  Description:
00074 ////////////////////////////////////////////////////////////////////
00075 INLINE void LoaderOptions::
00076 set_texture_flags(int texture_flags) {
00077   _texture_flags = texture_flags;
00078 }
00079 
00080 ////////////////////////////////////////////////////////////////////
00081 //     Function: LoaderOptions::get_texture_flags
00082 //       Access: Published
00083 //  Description:
00084 ////////////////////////////////////////////////////////////////////
00085 INLINE int LoaderOptions::
00086 get_texture_flags() const {
00087   return _texture_flags;
00088 }
 All Classes Functions Variables Enumerations