All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions | Variables
misc/convert.cc File Reference
#include "osl/misc/binaryIO.h"
#include <boost/foreach.hpp>
#include <iostream>
#include <vector>
#include <cassert>
#include <cstdio>
#include <unistd.h>
Include dependency graph for misc/convert.cc:

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
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 48 of file misc/convert.cc.

References binary_to_text, and real_value.

template<class T >
void to_binary ( )

Definition at line 13 of file misc/convert.cc.

References osl::misc::BinaryWriter::write().

template<class T >
void to_text ( )
template<class T >
void write_line ( 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.

Variable Documentation

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().