35 lines
906 B
C++
35 lines
906 B
C++
// -*- C++ -*-
|
|
|
|
namespace OpenChams {
|
|
/*! \class Layout
|
|
*
|
|
* This class describes layout informations for an Instance.
|
|
*
|
|
* The Layout object is used to store all informations relative to physical layout of the instance (such as the layout style).
|
|
*
|
|
* \note The Layout object is optionnal in Circuit.
|
|
*/
|
|
|
|
/*! \fn Layout::Layout(Circuit* circuit)
|
|
* \brief creates a new layout.
|
|
*
|
|
* \param circuit the circuit to which the layout belongs.
|
|
*/
|
|
|
|
/*! \fn void Layout::addInstance(Name name, Name style)
|
|
* \brief adds layout informations for a instance.
|
|
*
|
|
* \param name the instance's name to which the layout is associated.
|
|
* \param style the layout style.
|
|
*/
|
|
|
|
/*! \fn inline bool Layout::hasNoInstance()
|
|
* \brief returns true if the layout has no Instance.
|
|
*/
|
|
|
|
/*! \fn inline const std::map<Name, Infos*>& Layout::getInstances()
|
|
* \brief returns the map of Instances.
|
|
*/
|
|
}
|
|
|