Changeset 4261 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- May 22, 2005, 3:19:57 AM (20 years ago)
- Location:
- orxonox/trunk/src/lib
- Files:
-
- 1 deleted
- 8 edited
- 7 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/Makefile.in
r4130 r4261 183 183 esac; \ 184 184 done; \ 185 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- foreignsrc/lib/Makefile'; \185 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/Makefile'; \ 186 186 cd $(top_srcdir) && \ 187 $(AUTOMAKE) -- foreignsrc/lib/Makefile187 $(AUTOMAKE) --gnu src/lib/Makefile 188 188 .PRECIOUS: Makefile 189 189 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/graphics/Makefile.in
r4130 r4261 177 177 esac; \ 178 178 done; \ 179 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- foreignsrc/lib/graphics/Makefile'; \179 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/graphics/Makefile'; \ 180 180 cd $(top_srcdir) && \ 181 $(AUTOMAKE) -- foreignsrc/lib/graphics/Makefile181 $(AUTOMAKE) --gnu src/lib/graphics/Makefile 182 182 .PRECIOUS: Makefile 183 183 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/graphics/importer/Makefile.in
r4130 r4261 235 235 esac; \ 236 236 done; \ 237 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- foreignsrc/lib/graphics/importer/Makefile'; \237 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/graphics/importer/Makefile'; \ 238 238 cd $(top_srcdir) && \ 239 $(AUTOMAKE) -- foreignsrc/lib/graphics/importer/Makefile239 $(AUTOMAKE) --gnu src/lib/graphics/importer/Makefile 240 240 .PRECIOUS: Makefile 241 241 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/gui/Makefile.in
r4130 r4261 179 179 esac; \ 180 180 done; \ 181 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- foreignsrc/lib/gui/Makefile'; \181 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/gui/Makefile'; \ 182 182 cd $(top_srcdir) && \ 183 $(AUTOMAKE) -- foreignsrc/lib/gui/Makefile183 $(AUTOMAKE) --gnu src/lib/gui/Makefile 184 184 .PRECIOUS: Makefile 185 185 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/gui/console/Makefile.in
r4130 r4261 205 205 esac; \ 206 206 done; \ 207 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- foreignsrc/lib/gui/console/Makefile'; \207 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/gui/console/Makefile'; \ 208 208 cd $(top_srcdir) && \ 209 $(AUTOMAKE) -- foreignsrc/lib/gui/console/Makefile209 $(AUTOMAKE) --gnu src/lib/gui/console/Makefile 210 210 .PRECIOUS: Makefile 211 211 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/gui/gui/Makefile.in
r4130 r4261 265 265 esac; \ 266 266 done; \ 267 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- foreignsrc/lib/gui/gui/Makefile'; \267 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/gui/gui/Makefile'; \ 268 268 cd $(top_srcdir) && \ 269 $(AUTOMAKE) -- foreignsrc/lib/gui/gui/Makefile269 $(AUTOMAKE) --gnu src/lib/gui/gui/Makefile 270 270 .PRECIOUS: Makefile 271 271 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
orxonox/trunk/src/lib/lang/base_object.cc
r3651 r4261 39 39 BaseObject::~BaseObject () 40 40 { 41 delete []this->className;41 // delete []this->className; 42 42 } 43 43 44 void BaseObject::setClassName (c har* className)44 void BaseObject::setClassName (const char* className) 45 45 { 46 this->className = new char[strlen(className)+1]; 47 strcpy(this->className, className); 48 } 49 50 char* BaseObject::getClassName(void) const 51 { 52 return className; 46 this->className = className; 53 47 } 54 48 -
orxonox/trunk/src/lib/lang/base_object.h
r3651 r4261 17 17 virtual ~BaseObject (); 18 18 19 void setClassName (c har* className);20 char* getClassName(void) const;19 void setClassName (const char* className); 20 inline const char* getClassName(void) const { return this->className;}; 21 21 bool isA (char* className); 22 22 … … 25 25 26 26 private: 27 c har* className;27 const char* className; 28 28 bool finalized; 29 29 };
Note: See TracChangeset
for help on using the changeset viewer.