mirror of https://github.com/CGAL/cgal
inline functions
This commit is contained in:
parent
bddd05aef4
commit
fbdec23155
|
|
@ -69,35 +69,35 @@ public:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ios& off(std::ios& os)
|
inline std::ios& off(std::ios& os)
|
||||||
{
|
{
|
||||||
os.iword(IO::Static::get_file_format()) = IO::OFF;
|
os.iword(IO::Static::get_file_format()) = IO::OFF;
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
std::ios& ply(std::ios& os)
|
inline std::ios& ply(std::ios& os)
|
||||||
{
|
{
|
||||||
os.iword(IO::Static::get_file_format()) = IO::PLY;
|
os.iword(IO::Static::get_file_format()) = IO::PLY;
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ios& obj(std::ios& os)
|
inline std::ios& obj(std::ios& os)
|
||||||
{
|
{
|
||||||
os.iword(IO::Static::get_file_format()) = IO::OBJ;
|
os.iword(IO::Static::get_file_format()) = IO::OBJ;
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ios& stl(std::ios& os)
|
inline std::ios& stl(std::ios& os)
|
||||||
{
|
{
|
||||||
os.iword(IO::Static::get_file_format()) = IO::STL;
|
os.iword(IO::Static::get_file_format()) = IO::STL;
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
IO::File_format file_format(std::ios& os)
|
inline IO::File_format file_format(std::ios& os)
|
||||||
{
|
{
|
||||||
return static_cast<IO::File_format>(os.iword(IO::Static::get_file_format()));
|
return static_cast<IO::File_format>(os.iword(IO::Static::get_file_format()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template <typename Dummy>
|
template <typename Dummy>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue