Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::sys Namespace Reference

Classes

class  Directory
 
class  File
 
class  FileItem
 
class  IteratorProducer
 
class  Job
 
class  JobProducer
 
class  JobScheduler
 
class  Mutex
 
class  Path
 
class  Plugger
 
class  Plugin
 
class  Process
 
class  ProcessBuilder
 
class  Runnable
 
class  StopWatch
 
class  System
 
class  SystemException
 
class  Thread
 
class  ThreadException
 

Typedefs

typedef t::uint64 time_t
 

Functions

io::Outputoperator<< (io::Output &out, const Path &path)
 
static sys::Path evaluate (sys::Path plugin_path, sys::Path path)
 

Variables

static cstring ELD_EXT = "eld"
 
static cstring SECTION_NAME = "elm-plugin"
 
static cstring PATH_ATT = "path"
 
static cstring RPATH_ATT = "rpath"
 
static cstring LIBS_ATT = "libs"
 
static cstring DEPS_ATT = "deps"
 
static cstring PLUG_EXT
 
static cstring fun_suffix = "_fun"
 

Typedef Documentation

Function Documentation

static sys::Path elm::sys::evaluate ( sys::Path  plugin_path,
sys::Path  path 
)
static

Evaluate the given path. For now, replaced only prefix "$ORIGIN" by current plugin path.

Parameters
plugin_pathPath to the current plugin.
pathPath to transform.
Returns
Transformed path.

References elm::sys::Path::dirPart(), elm::String::startsWith(), and elm::String::substring().

io::Output& elm::sys::operator<< ( io::Output &  out,
const Path &  path 
)

Variable Documentation

cstring elm::sys::DEPS_ATT = "deps"
static
cstring elm::sys::ELD_EXT = "eld"
static
cstring elm::sys::fun_suffix = "_fun"
static
cstring elm::sys::LIBS_ATT = "libs"
static
cstring elm::sys::PATH_ATT = "path"
static
cstring elm::sys::PLUG_EXT
static
Initial value:
=
"so"

Referenced by elm::sys::Plugger::plug().

cstring elm::sys::RPATH_ATT = "rpath"
static
cstring elm::sys::SECTION_NAME = "elm-plugin"
static