Panda3D
 All Classes Functions Variables Enumerations
interrogateMakeSeq.I
00001 // Filename: interrogateMakeSeq.I
00002 // Created by:  drose (15Sep09)
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 ////////////////////////////////////////////////////////////////////
00018 //     MakeSeq: InterrogateMakeSeq::Constructor
00019 //       Access: Public
00020 //  Description:
00021 ////////////////////////////////////////////////////////////////////
00022 INLINE InterrogateMakeSeq::
00023 InterrogateMakeSeq(InterrogateModuleDef *def) :
00024   InterrogateComponent(def)
00025 {
00026   _class = 0;
00027 }
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //     MakeSeq: InterrogateMakeSeq::Copy Constructor
00031 //       Access: Public
00032 //  Description:
00033 ////////////////////////////////////////////////////////////////////
00034 INLINE InterrogateMakeSeq::
00035 InterrogateMakeSeq(const InterrogateMakeSeq &copy) {
00036   (*this) = copy;
00037 }
00038 
00039 ////////////////////////////////////////////////////////////////////
00040 //     MakeSeq: InterrogateMakeSeq::Copy Assignment Operator
00041 //       Access: Public
00042 //  Description:
00043 ////////////////////////////////////////////////////////////////////
00044 INLINE void InterrogateMakeSeq::
00045 operator = (const InterrogateMakeSeq &copy) {
00046   InterrogateComponent::operator = (copy);
00047   _class = copy._class;
00048   _seq_name = copy._seq_name;
00049   _num_name = copy._num_name;
00050   _element_name = copy._element_name;
00051 }
00052 
00053 ////////////////////////////////////////////////////////////////////
00054 //     Function: InterrogateMakeSeq::get_class
00055 //       Access: Public
00056 //  Description: Return the class that owns the make_seq.
00057 ////////////////////////////////////////////////////////////////////
00058 INLINE TypeIndex InterrogateMakeSeq::
00059 get_class() const {
00060   return _class;
00061 }
00062 
00063 ////////////////////////////////////////////////////////////////////
00064 //     Function: InterrogateMakeSeq::get_seq_name
00065 //       Access: Public
00066 //  Description:
00067 ////////////////////////////////////////////////////////////////////
00068 INLINE const string &InterrogateMakeSeq::
00069 get_seq_name() const {
00070   return _seq_name;
00071 }
00072 
00073 ////////////////////////////////////////////////////////////////////
00074 //     Function: InterrogateMakeSeq::get_num_name
00075 //       Access: Public
00076 //  Description:
00077 ////////////////////////////////////////////////////////////////////
00078 INLINE const string &InterrogateMakeSeq::
00079 get_num_name() const {
00080   return _num_name;
00081 }
00082 
00083 ////////////////////////////////////////////////////////////////////
00084 //     Function: InterrogateMakeSeq::get_element_name
00085 //       Access: Public
00086 //  Description:
00087 ////////////////////////////////////////////////////////////////////
00088 INLINE const string &InterrogateMakeSeq::
00089 get_element_name() const {
00090   return _element_name;
00091 }
00092 
00093 
00094 INLINE ostream &
00095 operator << (ostream &out, const InterrogateMakeSeq &make_seq) {
00096   make_seq.output(out);
00097   return out;
00098 }
00099 
00100 INLINE istream &
00101 operator >> (istream &in, InterrogateMakeSeq &make_seq) {
00102   make_seq.input(in);
00103   return in;
00104 }
 All Classes Functions Variables Enumerations