SLProject 4.0.000
SLObject Class Reference

Base class for all other classes. More...

#include <SLObject.h>

Inheritance diagram for SLObject:
[legend]

Public Member Functions

 SLObject (const SLstring &Name="", const SLstring &url="")
 
virtual ~SLObject ()
 
void name (const SLstring &Name)
 
void url (const SLstring &url)
 
const SLstringname () const
 
const SLstringurl () const
 

Protected Attributes

SLstring _name
 name of an object More...
 
SLstring _url
 uniform resource locator More...
 

Detailed Description

Base class for all other classes.

The SLObject class serves as root3D class for other classes and provides for the moment only a string with the name. It could be extended for object i/o (serialization) or reference counting.

Constructor & Destructor Documentation

◆ SLObject()

SLObject::SLObject ( const SLstring Name = "",
const SLstring url = "" 
)
inline

◆ ~SLObject()

virtual SLObject::~SLObject ( )
inlinevirtual

Member Function Documentation

◆ name() [1/2]

const SLstring & SLObject::name ( ) const
inline

◆ name() [2/2]

void SLObject::name ( const SLstring Name)
inline

◆ url() [1/2]

const SLstring & SLObject::url ( ) const
inline

◆ url() [2/2]

void SLObject::url ( const SLstring url)
inline

Member Data Documentation

◆ _name

SLstring SLObject::_name
protected

name of an object

◆ _url

SLstring SLObject::_url
protected

uniform resource locator


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