LObject Class Reference

#include <OSG3DSLoader.h>

Inheritance diagram for LObject:

LCamera LLight LMaterial LMesh List of all members.

Public Member Functions

 LObject ()
virtual ~LObject ()
virtual const std::string & GetName ()
virtual void SetName (const std::string &value)
bool IsObject (const std::string &name)

Protected Attributes

std::string m_name

Detailed Description

Definition at line 121 of file OSG3DSLoader.h.


Constructor & Destructor Documentation

LObject::LObject (  ) 

Definition at line 219 of file OSG3DSLoader.cpp.

References m_name.

00220 {
00221     m_name = "";//.clear();
00222 }

LObject::~LObject (  )  [virtual]

Definition at line 224 of file OSG3DSLoader.cpp.

00225 {
00226     // nothing here
00227 }


Member Function Documentation

const std::string & LObject::GetName (  )  [virtual]

Definition at line 234 of file OSG3DSLoader.cpp.

References m_name.

Referenced by OSG::A3DSSceneFileType::createMesh().

00235 {
00236     return m_name;
00237 }

void LObject::SetName ( const std::string &  value  )  [virtual]

Definition at line 229 of file OSG3DSLoader.cpp.

References m_name.

Referenced by L3DS::ReadCamera(), L3DS::ReadLight(), L3DS::ReadMaterial(), and L3DS::ReadMesh().

00230 {
00231     m_name = value;
00232 }

bool LObject::IsObject ( const std::string &  name  ) 

Definition at line 239 of file OSG3DSLoader.cpp.

References m_name.

00240 {
00241     return (m_name == name);
00242 }


Member Data Documentation

std::string LObject::m_name [protected]

Definition at line 140 of file OSG3DSLoader.h.

Referenced by GetName(), IsObject(), LObject(), and SetName().


The documentation for this class was generated from the following files: