Simulacrum  1.2
Public Member Functions | Static Public Member Functions | List of all members
Simulacrum::SURI Class Reference

#include <suri.h>

Inheritance diagram for Simulacrum::SURI:
Inheritance graph
Collaboration diagram for Simulacrum::SURI:
Collaboration graph

Public Member Functions

 SURI ()
 
 SURI (const std::string &)
 
 SURI (const SURI &)
 
virtual ~SURI ()
 
virtual void clear (bool fullclear=true)
 
void doStop (bool)
 
void externalStop (bool &)
 
bool shouldStop ()
 
void setSeparator (const std::string)
 
std::string separator () const
 
void setURI (const std::string &)
 
void setProtocol (const std::string &)
 
std::string getURI (bool escaped=false) const
 
std::string getProtocol () const
 
unsigned depth () const
 
std::string getComponent (unsigned) const
 
SURIdeleteComponent (unsigned)
 
SURIaddComponentFront (const std::string &)
 
SURIaddComponentBack (const std::string &)
 
const SURIoperator= (const SURI &)
 
const SURIadd (const SURI &)
 
bool isLocal ()
 
SFile file ()
 
SFile toFile (const std::string &)
 
SFile toTempFile ()
 
bool fromMem (const std::string &)
 
std::string user ()
 
std::string password ()
 
void progress (int)
 
- Public Member Functions inherited from Simulacrum::SConnectable
 SConnectable ()
 
virtual ~SConnectable ()
 
virtual void refresh (sdepth_t)
 
void emitRefresh (sdepth_t)
 
virtual void signal (ssignal_t, void *=nullptr)
 
void emitSignal (ssignal_t, void *=nullptr)
 
virtual bool sconnect (SConnectable &)
 
virtual bool sconnect (SConnectable &, bool delondiscon)
 
virtual bool sdisconnect (SConnectable &)
 
virtual void disconnectSources ()
 
virtual void disconnectListeners ()
 
virtual void disconnectListeners_Refresh ()
 
virtual bool isConnected (SConnectable &) const
 
virtual bool isConnected (SConnectable *) const
 
virtual void sconfigure (const std::string &)
 
virtual SConnectableend ()
 
virtual SConnectablepenum ()
 
virtual SConnectablepred ()
 
virtual SConnectablesucc ()
 
virtual void deleteOnDisconnect (bool)
 
virtual bool deleteOnDisconnect ()
 
virtual void setName (const std::string &)
 
virtual const std::string & getName () const
 
const std::map< std::string, double > & parameters ()
 
const std::map< std::string, std::string > & properties ()
 
bool hasProperty (const std::string &) const
 
bool hasParameter (const std::string &) const
 
void setProperty (const std::string &, const std::string &)
 
void setParameter (const std::string &, double)
 
std::string getProperty (const std::string &) const
 
double getParameter (const std::string &) const
 
- Public Member Functions inherited from Simulacrum::SLockable
virtual void lock ()
 
virtual void unlock ()
 
virtual bool try_lock ()
 
virtual void wait ()
 
virtual void refIncr ()
 
virtual void refDecr ()
 
virtual int refCount ()
 
 SLockable ()
 
 SLockable (const SLockable &)
 
virtual ~SLockable ()
 

Static Public Member Functions

static std::string gsanitize (const std::string)
 

Additional Inherited Members

- Public Types inherited from Simulacrum::SConnectable
typedef unsigned ssignal_t
 
typedef bool sdepth_t
 
- Protected Member Functions inherited from Simulacrum::SConnectable
virtual bool addListener (SConnectable &)
 
virtual bool removeListener (SConnectable &)
 
virtual bool addTarget (SConnectable &)
 
virtual bool removeTarget (SConnectable &)
 

Constructor & Destructor Documentation

◆ SURI() [1/3]

SURI::SURI ( )

◆ SURI() [2/3]

SURI::SURI ( const std::string &  newuri)

◆ SURI() [3/3]

SURI::SURI ( const SURI that)

◆ ~SURI()

SURI::~SURI ( )
virtual

Member Function Documentation

◆ add()

const SURI & SURI::add ( const SURI src)

◆ addComponentBack()

SURI & SURI::addComponentBack ( const std::string &  backcl)

◆ addComponentFront()

SURI & SURI::addComponentFront ( const std::string &  frontcl)

◆ clear()

void SURI::clear ( bool  fullclear = true)
virtual

◆ deleteComponent()

SURI & SURI::deleteComponent ( unsigned  element)

◆ depth()

unsigned int SURI::depth ( ) const

◆ doStop()

void SURI::doStop ( bool  nstop)

◆ externalStop()

void SURI::externalStop ( bool &  nexstop)

◆ file()

SFile SURI::file ( )

◆ fromMem()

bool SURI::fromMem ( const std::string &  data)

◆ getComponent()

std::string SURI::getComponent ( unsigned  ) const

◆ getProtocol()

std::string SURI::getProtocol ( ) const

◆ getURI()

std::string SURI::getURI ( bool  escaped = false) const

◆ gsanitize()

std::string SURI::gsanitize ( const std::string  src)
static

◆ isLocal()

bool SURI::isLocal ( )

◆ operator=()

const SURI & SURI::operator= ( const SURI rhs)

◆ password()

std::string SURI::password ( )

◆ progress()

void SURI::progress ( int  nprog)
virtual

Reimplemented from Simulacrum::SConnectable.

◆ separator()

std::string SURI::separator ( ) const

◆ setProtocol()

void SURI::setProtocol ( const std::string &  newprot)

◆ setSeparator()

void SURI::setSeparator ( const std::string  newsep)

◆ setURI()

void SURI::setURI ( const std::string &  newuri)

◆ shouldStop()

bool SURI::shouldStop ( )

◆ toFile()

SFile SURI::toFile ( const std::string &  dest)

◆ toTempFile()

SFile SURI::toTempFile ( )

◆ user()

std::string SURI::user ( )

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