#include "osl/misc/binaryIO.h"
#include <boost/foreach.hpp>
#include <iostream>
#include <vector>
#include <cassert>
#include <cstdio>
#include <unistd.h>
Go to the source code of this file.
Functions | |
template<class T > | |
void | to_binary () |
template<class T > | |
void | write_line (T value) |
void | write_line (double value) |
template<class T > | |
void | to_text () |
int | main (int argc, char **argv) |
Variables | |
bool | real_value = false |
bool | binary_to_text = false |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 48 of file misc/convert.cc.
References binary_to_text, and real_value.
void to_binary | ( | ) |
Definition at line 13 of file misc/convert.cc.
References osl::misc::BinaryWriter::write().
void to_text | ( | ) |
Definition at line 35 of file misc/convert.cc.
References osl::misc::BinaryReader< T >::blockSize(), osl::misc::BinaryReader< T >::read(), and write_line().
void write_line | ( | T | value) |
Definition at line 25 of file misc/convert.cc.
Referenced by to_text().
void write_line | ( | double | value) |
Definition at line 29 of file misc/convert.cc.
bool binary_to_text = false |
Definition at line 11 of file misc/convert.cc.
Referenced by main().
bool real_value = false |
Definition at line 11 of file misc/convert.cc.
Referenced by AccurateCenter::center(), main(), and Analyzer::search().