\hypertarget{a00266}{\section{Open\+Mesh\+:\+:I\+O\+:\+:\+\_\+\+O\+M\+Writer\+\_\+ Class Reference}
\label{a00266}\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}}
}


{\ttfamily \#include $<$libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+I\+O/writer/\+O\+M\+Writer.\+hh$>$}

Inheritance diagram for Open\+Mesh\+:\+:I\+O\+:\+:\+\_\+\+O\+M\+Writer\+\_\+\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00266}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00266_a124124ec1cf547f34f7f07c3c5345267}{\hyperlink{a00266_a124124ec1cf547f34f7f07c3c5345267}{\+\_\+\+O\+M\+Writer\+\_\+} ()}\label{a00266_a124124ec1cf547f34f7f07c3c5345267}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a00266_ae824f4266ba7a3230c483f10c90b2c22}{virtual \hyperlink{a00266_ae824f4266ba7a3230c483f10c90b2c22}{$\sim$\+\_\+\+O\+M\+Writer\+\_\+} ()}\label{a00266_ae824f4266ba7a3230c483f10c90b2c22}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a00266_a9f5b8b9fafa088ef99ffd94a456b8a14}{std\+::string \hyperlink{a00266_a9f5b8b9fafa088ef99ffd94a456b8a14}{get\+\_\+description} () const }\label{a00266_a9f5b8b9fafa088ef99ffd94a456b8a14}

\begin{DoxyCompactList}\small\item\em Return short description of the supported file format. \end{DoxyCompactList}\item 
\hypertarget{a00266_ad2c1f43c1f3c53ee395b7d0c19d59328}{std\+::string \hyperlink{a00266_ad2c1f43c1f3c53ee395b7d0c19d59328}{get\+\_\+extensions} () const }\label{a00266_ad2c1f43c1f3c53ee395b7d0c19d59328}

\begin{DoxyCompactList}\small\item\em Return file format's extension. \end{DoxyCompactList}\item 
bool \hyperlink{a00266_aaa236eda6d8b4232d16f532ecbe42b4b}{write} (std\+::ostream \&, \hyperlink{a00314}{Base\+Exporter} \&, \hyperlink{a00941}{Options}, std\+::streamsize \+\_\+precision=6) const 
\item 
\hypertarget{a00266_afa0cc90c2f427187ec8399ddd86eec87}{size\+\_\+t \hyperlink{a00266_afa0cc90c2f427187ec8399ddd86eec87}{binary\+\_\+size} (\hyperlink{a00314}{Base\+Exporter} \&\+\_\+be, \hyperlink{a00941}{Options} \+\_\+opt) const }\label{a00266_afa0cc90c2f427187ec8399ddd86eec87}

\begin{DoxyCompactList}\small\item\em Returns expected size of file if binary format is supported else 0. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a00266_aa110cadf1ddcac647f33076fd276d9e4}{write} (const std\+::string \&, \hyperlink{a00314}{Base\+Exporter} \&, \hyperlink{a00941}{Options}, std\+::streamsize \+\_\+precision=6) const 
\item 
\hypertarget{a00266_aca64ba480920d5e5954cbf0334cd585a}{bool {\bfseries write\+\_\+binary} (std\+::ostream \&, \hyperlink{a00314}{Base\+Exporter} \&, \hyperlink{a00941}{Options}) const }\label{a00266_aca64ba480920d5e5954cbf0334cd585a}

\item 
\hypertarget{a00266_ae576fc20ff55ab6828fa35df5696a3df}{size\+\_\+t {\bfseries store\+\_\+binary\+\_\+custom\+\_\+chunk} (std\+::ostream \&, const \hyperlink{a00332}{Base\+Property} \&, O\+M\+Format\+::\+Chunk\+::\+Entity, bool) const }\label{a00266_ae576fc20ff55ab6828fa35df5696a3df}

\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00266_a3f4bc815e89b32cc09b9756edf6bccc5}{static const O\+M\+Format\+::uchar {\bfseries magic\+\_\+} \mbox{[}3\mbox{]} = \char`\"{}O\+M\char`\"{}}\label{a00266_a3f4bc815e89b32cc09b9756edf6bccc5}

\item 
\hypertarget{a00266_abb0a3ed12b0bc77e63e6e9e5c91cd90b}{static const O\+M\+Format\+::uint8 {\bfseries version\+\_\+} = O\+M\+Format\+::mk\+\_\+version(1,2)}\label{a00266_abb0a3ed12b0bc77e63e6e9e5c91cd90b}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Implementation of the O\+M format writer. This class is singleton'ed by \hyperlink{a01181}{Singleton\+T} to O\+M\+Writer. 

Definition at line 96 of file O\+M\+Writer.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00266_aaa236eda6d8b4232d16f532ecbe42b4b}{\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}!write@{write}}
\index{write@{write}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}}
\subsubsection[{write}]{\setlength{\rightskip}{0pt plus 5cm}bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+\+::write (
\begin{DoxyParamCaption}
\item[{std\+::ostream \&}]{\+\_\+os, }
\item[{{\bf Base\+Exporter} \&}]{\+\_\+be, }
\item[{{\bf Options}}]{\+\_\+opt, }
\item[{std\+::streamsize}]{\+\_\+precision = {\ttfamily 6}}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00266_aaa236eda6d8b4232d16f532ecbe42b4b}
Write to a std\+::ostream 
\begin{DoxyParams}{Parameters}
{\em \+\_\+os} & write to std\+::ostream \\
\hline
{\em \+\_\+be} & \hyperlink{a00314}{Base\+Exporter}, which specifies the data source \\
\hline
{\em \+\_\+opt} & writing options \\
\hline
{\em \+\_\+precision} & can be used to specify the precision of the floating point notation. \\
\hline
\end{DoxyParams}


Implements \hyperlink{a00345_ae0aa2050e93f96d71ff70ce788a76a94}{Open\+Mesh\+::\+I\+O\+::\+Base\+Writer}.



Definition at line 136 of file O\+M\+Writer.\+cc.

\hypertarget{a00266_aa110cadf1ddcac647f33076fd276d9e4}{\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}!write@{write}}
\index{write@{write}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}}
\subsubsection[{write}]{\setlength{\rightskip}{0pt plus 5cm}bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+\+::write (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{\+\_\+filename, }
\item[{{\bf Base\+Exporter} \&}]{\+\_\+be, }
\item[{{\bf Options}}]{\+\_\+opt, }
\item[{std\+::streamsize}]{\+\_\+precision = {\ttfamily 6}}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{a00266_aa110cadf1ddcac647f33076fd276d9e4}
Write to a file 
\begin{DoxyParams}{Parameters}
{\em \+\_\+filename} & write to file with the given filename \\
\hline
{\em \+\_\+be} & \hyperlink{a00314}{Base\+Exporter}, which specifies the data source \\
\hline
{\em \+\_\+opt} & writing options \\
\hline
{\em \+\_\+precision} & can be used to specify the precision of the floating point notation. \\
\hline
\end{DoxyParams}


Implements \hyperlink{a00345_a7c0818a63926bdb439044a8f4c038d85}{Open\+Mesh\+::\+I\+O\+::\+Base\+Writer}.



Definition at line 100 of file O\+M\+Writer.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+I\+O/writer/O\+M\+Writer.\+hh\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+I\+O/writer/O\+M\+Writer.\+cc\end{DoxyCompactItemize}
