This class is used for DSO modules that impliment property extensions for scripting objects.
More...
#include <script3.h>
Inheritance diagram for ost::ScriptProperty:
Collaboration diagram for ost::ScriptProperty:
Public Types
enum
symType {
symNORMAL = 0,
symCONST,
symDYNAMIC,
symFIFO,
symSEQUENCE,
symSTACK,
symCOUNTER,
symPOINTER,
symREF,
symARRAY,
symASSOC,
symINITIAL,
symNUMBER,
symLOCK,
symPROPERTY,
symORIGINAL,
symMODIFIED,
symTIMER,
symBOOL
}
typedef bool(ScriptInterp::*
Method )(void)
typedef void(*
Init )(void)
Public Member Functions
virtual void
set (const char *data, char *temp, unsigned size)=0
virtual unsigned
prec (void)
Precision for property type expressions.
More...
virtual void
setValue (char *data, unsigned short size, long value)
Set property from integer value.
More...
See if should be computed as property.
More...
virtual void
clear (char *data, unsigned size=0)
Initialize a new property through var definition.
More...
virtual char
token (void)
Fetch a property specific seperator token.
More...
virtual void
adjust (char *data, size_t size, long adjustment)
normalize values for scope and range.
More...
virtual long
getValue (const char *data)
Get the "numeric" (or #var) value of this property symbol.
More...
Static Public Member Functions
static bool
use (const char *name)
Data Fields
Static Public Attributes
Static Protected Attributes
Private Attributes
Static Private Attributes
Friends
Detailed Description
Member Typedef Documentation
typedef const char*(ScriptCommand::* ost::Script::Check)(
Line *line,
ScriptImage *img)
inherited |
typedef bool(* ost::Script::Cond)(
ScriptInterp *interp, const char *v)
inherited |
typedef long(* ost::Script::Function)(long *args, unsigned
prec)
inherited |
typedef void(* ost::Script::Init)(void)
inherited |
typedef bool(ScriptInterp::* ost::Script::Method)(void)
inherited |
Member Enumeration Documentation
Enumerator |
---|
scrPUBLIC |
scrPROTECTED |
scrPRIVATE |
scrFUNCTION |
scrLOCAL |
Definition at line 113 of file script3.h.
Enumerator |
---|
symNORMAL |
symCONST |
symDYNAMIC |
symFIFO |
symSEQUENCE |
symSTACK |
symCOUNTER |
symPOINTER |
symREF |
symARRAY |
symASSOC |
symINITIAL |
symNUMBER |
symLOCK |
symPROPERTY |
symORIGINAL |
symMODIFIED |
symTIMER |
symBOOL |
Definition at line 123 of file script3.h.
Constructor & Destructor Documentation
ost::ScriptProperty::ScriptProperty
(
const char *
name )
virtual ost::ScriptProperty::~ScriptProperty
(
)
virtual |
Member Function Documentation
static void ost::Script::addConditional
(
const char *
name,
)
staticinherited |
static void ost::Script::addFunction
(
const char *
name,
unsigned
count,
)
staticinherited |
virtual void ost::ScriptProperty::adjust
(
char *
data,
size_t
size,
long
adjustment
)
virtual |
adjust value method.
Performs inc.xxx conversions.
- Parameters
-
data buffer to work from.
size of data buffer.
adjustment offset to apply.
virtual long ost::ScriptProperty::adjustValue
(
long
value )
virtual |
normalize values for scope and range.
- Returns
- noramized value.
- Parameters
-
value prior to normalization.
static bool ost::Script::append
(
Symbol *
sym,
const char *
value
)
staticinherited |
static void ost::Script::clear
(
Symbol *
sym )
staticinherited |
virtual void ost::ScriptProperty::clear
(
char *
data,
unsigned
size = 0
)
virtual |
Initialize a new property through var definition.
- Returns
- property value.
- Parameters
-
data location to clear.
size of workspace to clear.
static bool ost::Script::commit
(
Symbol *
sym,
const char *
value
)
staticinherited |
static unsigned ost::Script::count
(
Symbol *
sym )
staticinherited |
static const char* ost::Script::extract
(
Symbol *
sym )
staticinherited |
static
ScriptProperty* ost::ScriptProperty::find
(
const char *
name )
static |
static unsigned ost::Script::getIndex
(
const char *
id )
staticinherited |
virtual long ost::ScriptProperty::getValue
(
const char *
data )
virtual |
Get the "numeric" (or #var) value of this property symbol.
- Returns
- numeric value of this property object.
- Parameters
-
data being examined from property object.
static bool ost::Script::isFunction
(
Name *
scr )
staticinherited |
static bool ost::Script::isPrivate
(
Name *
scr )
staticinherited |
virtual bool ost::ScriptProperty::isProperty
(
const char *
data )
virtual |
See if should be computed as property.
- Returns
- true if property valid.
- Parameters
-
data string to test.
static bool ost::Script::isScript
(
Name *
scr )
staticinherited |
static bool ost::Script::isSymbol
(
const char *
id )
staticinherited |
virtual unsigned ost::ScriptProperty::prec
(
void
)
virtual |
Precision for property type expressions.
- Returns
- precision.
virtual void ost::ScriptProperty::set
(
const char *
data,
char *
temp,
unsigned
size
)
pure virtual |
Set property method.
Performs set.xxx and init.xxx methods.
- Parameters
-
data buffer to work from.
temp workspace buffer to use.
size of temp area.
virtual void ost::ScriptProperty::setValue
(
char *
data,
unsigned short
size,
long
value
)
virtual |
Set property from integer value.
- Parameters
-
data to save.
size of data.
value being set.
static unsigned ost::Script::storage
(
Symbol *
sym )
staticinherited |
static bool ost::Script::symindex
(
Symbol *
sym,
short
offset
)
staticinherited |
virtual char ost::ScriptProperty::token
(
void
)
virtual |
Fetch a property specific seperator token.
- Returns
- seperator token used in foreach loops...
static bool ost::Script::use
(
const char *
name )
staticinherited |
Friends And Related Function Documentation
Field Documentation
const char* ost::Script::access_host
staticinherited |
const char* ost::Script::access_pass
staticinherited |
const char* ost::Script::access_user
staticinherited |
const char* ost::Script::altplugins
staticinherited |
const char* ost::Script::apps_extensions
staticinherited |
const char* ost::Script::apps_prefix
staticinherited |
unsigned ost::Script::autoStepping
staticinherited |
char ost::Script::decimal
staticinherited |
const char* ost::Script::etc_prefix
staticinherited |
const char* ost::Script::exec_extensions
staticinherited |
bool ost::Script::exec_funcs
staticinherited |
const char* ost::Script::exec_prefix
staticinherited |
const char* ost::Script::exec_token
staticinherited |
const char* ost::Script::exit_token
staticinherited |
bool ost::Script::fastStart
staticinherited |
unsigned ost::Script::fastStepping
staticinherited |
const char* ost::ScriptProperty::id
private |
const char* ost::Script::log_prefix
staticinherited |
size_t ost::Script::pagesize
staticinherited |
const char* ost::Script::plugins
staticinherited |
unsigned ost::Script::symlimit
staticinherited |
unsigned ost::Script::symsize
staticinherited |
bool ost::Script::use_definitions
staticinherited |
bool ost::Script::use_funcs
staticinherited |
bool ost::Script::use_macros
staticinherited |
bool ost::Script::use_merge
staticinherited |
bool ost::Script::use_prefix
staticinherited |
bool ost::Script::useBigmem
staticinherited |
const char* ost::Script::var_prefix
staticinherited |
The documentation for this class was generated from the following file:
Generated on Dec 21, 2017 for
commoncpp2-1.8.1,
ccrtp-1.7.2,
libzrtpcpp-2.3.4,
ccscript3-1.1.7,
ccaudio2-1.0.0 and
bayonne2-2.3.2
(after installation in /usr/local/)
by
doxygen 1.8.6