CWGraphInternal::ZoneShape Struct Reference

Internal: small class to store a basic graphic zone of a CWGraph. More...

Inheritance diagram for CWGraphInternal::ZoneShape:
CWGraphInternal::Zone

List of all members.

Public Member Functions

 ZoneShape (Zone const &z, Type type)
 constructor
virtual void print (std::ostream &o) const
 print the data
virtual Type getType () const
 return the main type
virtual Type getSubType () const
 return the sub type
virtual int getNumData () const
 return the number of data
virtual CWStruct::DSET::Child getChild () const
 return a child corresponding to this zone

Public Attributes

Type m_type
 the sub type
MWAWGraphicShape m_shape
 the shape
int m_rotate
 the rotation

Detailed Description

Internal: small class to store a basic graphic zone of a CWGraph.


Constructor & Destructor Documentation

CWGraphInternal::ZoneShape::ZoneShape ( Zone const &  z,
Type  type 
) [inline]

constructor


Member Function Documentation

virtual CWStruct::DSET::Child CWGraphInternal::ZoneShape::getChild ( ) const [inline, virtual]

return a child corresponding to this zone

Reimplemented from CWGraphInternal::Zone.

virtual int CWGraphInternal::ZoneShape::getNumData ( ) const [inline, virtual]

return the number of data

Reimplemented from CWGraphInternal::Zone.

virtual Type CWGraphInternal::ZoneShape::getSubType ( ) const [inline, virtual]

return the sub type

Reimplemented from CWGraphInternal::Zone.

Referenced by CWGraph::readShape().

virtual Type CWGraphInternal::ZoneShape::getType ( ) const [inline, virtual]

return the main type

Reimplemented from CWGraphInternal::Zone.

virtual void CWGraphInternal::ZoneShape::print ( std::ostream &  o) const [inline, virtual]

print the data

Reimplemented from CWGraphInternal::Zone.


Member Data Documentation


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