DbScript
Public Member Functions | Properties | Private Attributes | List of all members
Environment Class Reference

The Environment defines the environment parameters. The Environment object can be instantiated in the scripting environment. A list of existing environments can be retrieved by calling ControlCentre.environments(). A new environment may be added by the following. Note that only ControlCentre calls modify the database. More...

#include <scriptojbects.h>

Inheritance diagram for Environment:
Inheritance graph
[legend]
Collaboration diagram for Environment:
Collaboration graph
[legend]

Public Member Functions

 Environment (const String &name, QObject *)
 
 ~Environment ()
 
String name () const
 
bool assetLock () const
 
void setAssetLock (bool)
 

Properties

String name
 name More...
 
bool assetLock
 

Private Attributes

String _name
 
bool _assetLock
 

Detailed Description

The Environment defines the environment parameters. The Environment object can be instantiated in the scripting environment. A list of existing environments can be retrieved by calling ControlCentre.environments(). A new environment may be added by the following. Note that only ControlCentre calls modify the database.

var env = new Environment("TestEnv");

Constructor & Destructor Documentation

Environment::Environment ( const String &  name,
QObject *   
)
Environment::~Environment ( )

Member Function Documentation

bool Environment::assetLock ( ) const
String Environment::name ( ) const
void Environment::setAssetLock ( bool  )

Member Data Documentation

bool Environment::_assetLock
private
String Environment::_name
private

Property Documentation

bool Environment::assetLock
readwriteprivate
String Environment::name
readprivate

name


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