\hypertarget{class_open_chams_1_1_layout}{}\section{Layout Class Reference}
\label{class_open_chams_1_1_layout}\index{Layout@{Layout}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_open_chams_1_1_layout_a4cc1899e9b782de44700fa0e4ac477ef}{add\+Instance}} (const std\+::string \&name, const std\+::string \&style)
\begin{DoxyCompactList}\small\item\em adds layout informations for a instance. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_layout_a13df4992219ef28a7dc014e9f5f0566a}\label{class_open_chams_1_1_layout_a13df4992219ef28a7dc014e9f5f0566a}} 
\mbox{\hyperlink{class_open_chams_1_1_node}{Node}} $\ast$ \mbox{\hyperlink{class_open_chams_1_1_layout_a13df4992219ef28a7dc014e9f5f0566a}{get\+H\+B\+Tree\+Root}} ()
\begin{DoxyCompactList}\small\item\em returns the root of the placement tree associated to the layout. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_layout_ab0550a9050b7e788b2a18452c9df21f7}\label{class_open_chams_1_1_layout_ab0550a9050b7e788b2a18452c9df21f7}} 
const std\+::map$<$ std\+::string, std\+::string $>$ \& \mbox{\hyperlink{class_open_chams_1_1_layout_ab0550a9050b7e788b2a18452c9df21f7}{get\+Instances}} ()
\begin{DoxyCompactList}\small\item\em returns the map of Instances. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_open_chams_1_1_layout_af27a31f10fcf22daa64f35c9c6bd2cda}\label{class_open_chams_1_1_layout_af27a31f10fcf22daa64f35c9c6bd2cda}} 
bool \mbox{\hyperlink{class_open_chams_1_1_layout_af27a31f10fcf22daa64f35c9c6bd2cda}{has\+No\+Instance}} ()
\begin{DoxyCompactList}\small\item\em returns true if the layout has no \mbox{\hyperlink{class_open_chams_1_1_instance}{Instance}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_open_chams_1_1_layout_a789d82a4c563002befc83d538431d474}{Layout}} (\mbox{\hyperlink{class_open_chams_1_1_circuit}{Circuit}} $\ast$)
\begin{DoxyCompactList}\small\item\em creates a new layout. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_open_chams_1_1_layout_a6d828958e0faf1346b27276eab101858}{set\+H\+B\+Tree\+Root}} (\mbox{\hyperlink{class_open_chams_1_1_node}{Node}} $\ast$)
\begin{DoxyCompactList}\small\item\em sets the root of the placement tree associated to the layout. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class describes layout informations for an \mbox{\hyperlink{class_open_chams_1_1_instance}{Instance}}.

The \mbox{\hyperlink{class_open_chams_1_1_layout}{Layout}} object is used to store all informations relative to physical layout of the instance (such as the layout style).

\begin{DoxyNote}{Note}
The \mbox{\hyperlink{class_open_chams_1_1_layout}{Layout}} object is optionnal in \mbox{\hyperlink{class_open_chams_1_1_circuit}{Circuit}}. 
\end{DoxyNote}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_open_chams_1_1_layout_a789d82a4c563002befc83d538431d474}\label{class_open_chams_1_1_layout_a789d82a4c563002befc83d538431d474}} 
\index{Open\+Chams\+::\+Layout@{Open\+Chams\+::\+Layout}!Layout@{Layout}}
\index{Layout@{Layout}!Open\+Chams\+::\+Layout@{Open\+Chams\+::\+Layout}}
\subsubsection{\texorpdfstring{Layout()}{Layout()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_open_chams_1_1_layout}{Layout}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_open_chams_1_1_circuit}{Circuit}} $\ast$}]{circuit }\end{DoxyParamCaption})}



creates a new layout. 


\begin{DoxyParams}{Parameters}
{\em circuit} & the circuit to which the layout belongs. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_open_chams_1_1_layout_a4cc1899e9b782de44700fa0e4ac477ef}\label{class_open_chams_1_1_layout_a4cc1899e9b782de44700fa0e4ac477ef}} 
\index{Open\+Chams\+::\+Layout@{Open\+Chams\+::\+Layout}!add\+Instance@{add\+Instance}}
\index{add\+Instance@{add\+Instance}!Open\+Chams\+::\+Layout@{Open\+Chams\+::\+Layout}}
\subsubsection{\texorpdfstring{add\+Instance()}{addInstance()}}
{\footnotesize\ttfamily void add\+Instance (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{name,  }\item[{const std\+::string \&}]{style }\end{DoxyParamCaption})}



adds layout informations for a instance. 


\begin{DoxyParams}{Parameters}
{\em name} & the instance\textquotesingle{}s name to which the layout is associated. \\
\hline
{\em style} & the layout style. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_open_chams_1_1_layout_a6d828958e0faf1346b27276eab101858}\label{class_open_chams_1_1_layout_a6d828958e0faf1346b27276eab101858}} 
\index{Open\+Chams\+::\+Layout@{Open\+Chams\+::\+Layout}!set\+H\+B\+Tree\+Root@{set\+H\+B\+Tree\+Root}}
\index{set\+H\+B\+Tree\+Root@{set\+H\+B\+Tree\+Root}!Open\+Chams\+::\+Layout@{Open\+Chams\+::\+Layout}}
\subsubsection{\texorpdfstring{set\+H\+B\+Tree\+Root()}{setHBTreeRoot()}}
{\footnotesize\ttfamily void set\+H\+B\+Tree\+Root (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_open_chams_1_1_node}{Node}} $\ast$}]{root }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



sets the root of the placement tree associated to the layout. 


\begin{DoxyParams}{Parameters}
{\em root} & the root of the palcement tree. \\
\hline
\end{DoxyParams}
