Logo Search packages:      
Sourcecode: qsapecng version File versions  Download package

Public Types | Public Member Functions | Private Member Functions | Private Attributes

qsapecng::SchematicSceneBuilder Class Reference

Inheritance diagram for qsapecng::SchematicSceneBuilder:
Inheritance graph
[legend]
Collaboration diagram for qsapecng::SchematicSceneBuilder:
Collaboration graph
[legend]

List of all members.

Public Types

enum  const_vertex { GROUND = 0 }
enum  dual_component_type {
  R, G, L, C,
  V, I, VM, AM
}
enum  quad_component_type {
  VCCS, VCVS, CCCS, CCVS,
  AO, n, K
}

Public Member Functions

void add_circuit_properties (std::map< std::string, std::string > map)
void add_circuit_property (std::string name, std::string value)
void add_dual_component (sapecng::abstract_builder::dual_component_type c_type, std::string name, double value, bool symbolic, unsigned int va, unsigned int vb, std::map< std::string, std::string > props=std::map< std::string, std::string >())
void add_out_component (unsigned int v, std::map< std::string, std::string > props=std::map< std::string, std::string >())
void add_quad_component (sapecng::abstract_builder::quad_component_type c_type, std::string name, double value, bool symbolic, unsigned int va, unsigned int vb, unsigned int vac, unsigned int vbc, std::map< std::string, std::string > props=std::map< std::string, std::string >())
void add_unknow_component (std::map< std::string, std::string > props=std::map< std::string, std::string >())
void add_wire_component (std::map< std::string, std::string > props=std::map< std::string, std::string >())
void flush ()
QList< QGraphicsItem * > items () const
 SchematicSceneBuilder (SchematicScene &scene)
 SchematicSceneBuilder (SchematicScene &scene, const QPointF &offset)

Private Member Functions

void adjust_label (Component *cmp, std::map< std::string, std::string > props)
void insert_item (Item *item, std::map< std::string, std::string > props)
void mirror_and_rotate (Item *item, std::map< std::string, std::string > props)
void setup_properties (SchematicScene::SupportedItemType type, Item *item, std::string name, double value, bool symbolic, std::map< std::string, std::string > props)

Private Attributes

QList< Component * > components_
QList< QGraphicsItem * > items_
QPointF offset_
SchematicScenescene_

Detailed Description

Definition at line 87 of file schematicsceneparser.h.


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

Generated by  Doxygen 1.6.0   Back to index