Public Member Functions

model_Diagram Class Reference

a diagram of the model data More...

#include <structs.model.h>

Inheritance diagram for model_Diagram:
GrtObject workbench_physical_Diagram

List of all members.

Public Member Functions

grt::IntegerRef closed () const
 Getter for attribute closed.
virtual void closed (const grt::IntegerRef &value)
 Setter for attribute closed.
grt::ListRef< model_Connectionconnections () const
 Getter for attribute connections (read-only).
grt::StringRef description () const
 Getter for attribute description.
virtual void description (const grt::StringRef &value)
 Setter for attribute description.
grt::ListRef< model_Figurefigures () const
 Getter for attribute figures (read-only).
grt::DoubleRef height () const
 Getter for attribute height.
virtual void height (const grt::DoubleRef &value)
 Setter for attribute height.
grt::ListRef< model_Layerlayers () const
 Getter for attribute layers (read-only).
grt::DictRef options () const
 Getter for attribute name.
model_ModelRef owner () const
 Getter for attribute owner.
virtual void owner (const model_ModelRef &value)
 Setter for attribute owner.
model_LayerRef rootLayer () const
 Getter for attribute rootLayer.
virtual void rootLayer (const model_LayerRef &value)
 Setter for attribute rootLayer.
grt::ListRef< model_Objectselection () const
 Getter for attribute selection (read-only).
grt::IntegerRef updateBlocked () const
 Getter for attribute updateBlocked.
virtual void updateBlocked (const grt::IntegerRef &value)
 Setter for attribute updateBlocked.
grt::DoubleRef width () const
 Getter for attribute width.
virtual void width (const grt::DoubleRef &value)
 Setter for attribute width.
grt::DoubleRef x () const
 Getter for attribute x.
virtual void x (const grt::DoubleRef &value)
 Setter for attribute x.
grt::DoubleRef y () const
 Getter for attribute y.
virtual void y (const grt::DoubleRef &value)
 Setter for attribute y.
grt::DoubleRef zoom () const
 Getter for attribute zoom.
virtual void zoom (const grt::DoubleRef &value)
 Setter for attribute zoom.
virtual void addConnection (const model_ConnectionRef &connection)
 

virtual void addFigure (const model_FigureRef &figure)
 

virtual void blockUpdates (long flag)
 

virtual void deleteLayer (const model_LayerRef &layer)
 

virtual model_LayerRef placeNewLayer (double x, double y, double width, double height, const std::string &name)=0
 

virtual void removeConnection (const model_ConnectionRef &connection)
 

virtual void removeFigure (const model_FigureRef &figure)
 

virtual void selectObject (const model_ObjectRef &object)
 

virtual void setPageCounts (long xpages, long ypages)
 

virtual void unselectAll ()
 

virtual void unselectObject (const model_ObjectRef &object)
 


Detailed Description

a diagram of the model data


Member Function Documentation

virtual void addConnection ( const model_ConnectionRef &  connection  )  [virtual]

Parameters:
connection 
Returns:
virtual void addFigure ( const model_FigureRef &  figure  )  [virtual]

Parameters:
figure 
Returns:
virtual void blockUpdates ( long  flag  )  [virtual]

Parameters:
flag 
Returns:
virtual void closed ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute closed.

In Python:
obj.closed = value
grt::IntegerRef closed (  )  const

Getter for attribute closed.

In Python:
value = obj.closed
grt::ListRef<model_Connection> connections (  )  const

Getter for attribute connections (read-only).

all connections displayed in this diagram

In Python:
value = obj.connections
virtual void deleteLayer ( const model_LayerRef &  layer  )  [virtual]

Parameters:
layer 
Returns:
virtual void description ( const grt::StringRef &  value  )  [virtual]

Setter for attribute description.

In Python:
obj.description = value
grt::StringRef description (  )  const

Getter for attribute description.

In Python:
value = obj.description
grt::ListRef<model_Figure> figures (  )  const

Getter for attribute figures (read-only).

all figures displayed in this diagram

In Python:
value = obj.figures
grt::DoubleRef height (  )  const

Getter for attribute height.

In Python:
value = obj.height
virtual void height ( const grt::DoubleRef &  value  )  [virtual]

Setter for attribute height.

In Python:
obj.height = value
grt::ListRef<model_Layer> layers (  )  const

Getter for attribute layers (read-only).

In Python:
value = obj.layers
grt::DictRef options (  )  const

Getter for attribute name.

the current name of the object

In Python:
value = obj.name Setter for attribute name the current name of the object
In Python:
obj.name = value Getter for attribute options (read-only) diagram specific options
In Python:
value = obj.options
model_ModelRef owner (  )  const

Getter for attribute owner.

In Python:
value = obj.owner

Reimplemented from GrtObject.

virtual void owner ( const model_ModelRef &  value  )  [virtual]

Setter for attribute owner.

In Python:
obj.owner = value
virtual model_LayerRef placeNewLayer ( double  x,
double  y,
double  width,
double  height,
const std::string &  name 
) [pure virtual]

Parameters:
x 
y 
width 
height 
name 
Returns:

Implemented in workbench_physical_Diagram.

virtual void removeConnection ( const model_ConnectionRef &  connection  )  [virtual]

Parameters:
connection 
Returns:
virtual void removeFigure ( const model_FigureRef &  figure  )  [virtual]

Parameters:
figure 
Returns:
model_LayerRef rootLayer (  )  const

Getter for attribute rootLayer.

In Python:
value = obj.rootLayer
virtual void rootLayer ( const model_LayerRef &  value  )  [virtual]

Setter for attribute rootLayer.

In Python:
obj.rootLayer = value
grt::ListRef<model_Object> selection (  )  const

Getter for attribute selection (read-only).

In Python:
value = obj.selection
virtual void selectObject ( const model_ObjectRef &  object  )  [virtual]

Parameters:
object 
Returns:
virtual void setPageCounts ( long  xpages,
long  ypages 
) [virtual]

Parameters:
xpages 
ypages 
Returns:
virtual void unselectAll (  )  [virtual]

Returns:
virtual void unselectObject ( const model_ObjectRef &  object  )  [virtual]

Parameters:
object 
Returns:
virtual void updateBlocked ( const grt::IntegerRef &  value  )  [virtual]

Setter for attribute updateBlocked.

In Python:
obj.updateBlocked = value
grt::IntegerRef updateBlocked (  )  const

Getter for attribute updateBlocked.

In Python:
value = obj.updateBlocked
grt::DoubleRef width (  )  const

Getter for attribute width.

In Python:
value = obj.width
virtual void width ( const grt::DoubleRef &  value  )  [virtual]

Setter for attribute width.

In Python:
obj.width = value
grt::DoubleRef x (  )  const

Getter for attribute x.

In Python:
value = obj.x
virtual void x ( const grt::DoubleRef &  value  )  [virtual]

Setter for attribute x.

In Python:
obj.x = value
grt::DoubleRef y (  )  const

Getter for attribute y.

In Python:
value = obj.y
virtual void y ( const grt::DoubleRef &  value  )  [virtual]

Setter for attribute y.

In Python:
obj.y = value
virtual void zoom ( const grt::DoubleRef &  value  )  [virtual]

Setter for attribute zoom.

In Python:
obj.zoom = value
grt::DoubleRef zoom (  )  const

Getter for attribute zoom.

In Python:
value = obj.zoom