The Vish Visualization Shell 0.3
Vish
Classes | Public Member Functions | Static Public Member Functions | List of all members
MemCore::MutableName Class Reference

A class holding a string whose changes are announced to a set of listeners. More...

#include <elementary/memcore/Name.hpp>

Inheritance diagram for MemCore::MutableName:
Wizt::VManagedObject Wizt::VManagedDomainObject< VInputCreatorBase > Wizt::VManagedDomainObject< VNutrition > Wizt::VManagedDomainObject< VObject > Wizt::VManagedDomainObject< What > Wizt::VInputCreatorBase Wizt::VNutrition Wizt::VObject Wizt::VInputCreator< GLFontManager > Wizt::VInputCreator< MetaViewerInputType > Wizt::VInputCreator< VSocketAction > Wizt::VInputCreator< VThreadManager > Wizt::VCreatorBase Wizt::VInputCreator< InputType, VInputCreatorClass > Wizt::AnemoneNutrition FloatsToPoint2D Wizt::CatchStatus Wizt::Coral Wizt::HTTPServer Wizt::MetaViewer Wizt::MovieRecorder Wizt::RemoteVish Wizt::RenderAble Wizt::VChartSelector Wizt::VProxyObject Wizt::VScene Wizt::VStreamObject Wizt::Viewer

Classes

class  Notifier
 Base class of some listener. More...
 

Public Member Functions

void addNameChangeNotifier (const WeakPtr< Notifier > &)
 Add a new listener.
 
std::string BaseName (const char Separator) const
 return the name of this item cropped anything after the Separator
 
const std::string & getName () const
 The name of the object.
 
 MutableName (const std::string &theName)
 Construct from text.
 
const std::string & Name () const
 The name of the object.
 
void rename (const std::string &newName)
 rename, same as setName()
 
void setName (const std::string &newName)
 Set a new name.
 

Static Public Member Functions

static std::string BaseName (const std::string &theName, const char Separator)
 return the name of this item cropped anything after the Separator
 

Detailed Description

A class holding a string whose changes are announced to a set of listeners.

Member Function Documentation

◆ BaseName()

std::string MemCore::MutableName::BaseName ( const std::string &  theName,
const char  Separator 
)
static

return the name of this item cropped anything after the Separator

\ 28 1C FS ? File Separator Can be used as delimiters to mark fields of data structures.

If used for hierarchical levels, US is the lowest level (dividing plain-text data items), while RS, GS, and FS are of increasing level to divide groups made up of items of the level beneath it. ^] 29 1D GS ? Group separator ^^ 30 1E RS ? Record Separator ^_ 31 1F US ? Unit separator