libUTL++
utl::NamedObjectMI Class Reference

Named object mix-in. More...

#include <NamedObjectMI.h>

Inheritance diagram for utl::NamedObjectMI:

Public Member Functions

 NamedObjectMI ()
 Constructor.
 
 NamedObjectMI (const String &name)
 Constructor. More...
 
void clear ()
 Clear the name. More...
 
const StringgetName () const
 Get the name. More...
 
const StringgetNamePtr () const
 Get the address of the name. More...
 
void setName (const String &name)
 Set the name. More...
 

Detailed Description

Named object mix-in.

Mix-in for classes that have a name.

Author
Adam McKee

Definition at line 24 of file NamedObjectMI.h.

Constructor & Destructor Documentation

◆ NamedObjectMI()

utl::NamedObjectMI::NamedObjectMI ( const String name)
inline

Constructor.

Parameters
namename of object

Definition at line 38 of file NamedObjectMI.h.

Member Function Documentation

◆ clear()

void utl::NamedObjectMI::clear ( )
inline

Clear the name.

Definition at line 45 of file NamedObjectMI.h.

References utl::compare(), utl::copy(), utl::ser_default, and utl::serialize().

◆ getName()

const String& utl::NamedObjectMI::getName ( ) const
inline

Get the name.

Definition at line 70 of file NamedObjectMI.h.

◆ getNamePtr()

const String* utl::NamedObjectMI::getNamePtr ( ) const
inline

Get the address of the name.

Definition at line 77 of file NamedObjectMI.h.

◆ setName()

void utl::NamedObjectMI::setName ( const String name)
inline

Set the name.

Definition at line 85 of file NamedObjectMI.h.


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