gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
RTFileStream Class Reference

#include <rtree.h>

Public Member Functions

 RTFileStream ()
 
 ~RTFileStream ()
 
bool OpenRead (const char *a_fileName)
 
bool OpenWrite (const char *a_fileName)
 
void Close ()
 
template<typename TYPE >
size_t Write (const TYPE &a_value)
 
template<typename TYPE >
size_t WriteArray (const TYPE *a_array, int a_count)
 
template<typename TYPE >
size_t Read (TYPE &a_value)
 
template<typename TYPE >
size_t ReadArray (TYPE *a_array, int a_count)
 

Private Attributes

FILE * m_file
 

Detailed Description

Definition at line 472 of file rtree.h.

Constructor & Destructor Documentation

◆ RTFileStream()

RTFileStream::RTFileStream ( )
inline

Definition at line 479 of file rtree.h.

◆ ~RTFileStream()

RTFileStream::~RTFileStream ( )
inline

Definition at line 484 of file rtree.h.

Here is the call graph for this function:

Member Function Documentation

◆ Close()

void RTFileStream::Close ( )
inline

Definition at line 509 of file rtree.h.

Referenced by ~RTFileStream().

Here is the caller graph for this function:

◆ OpenRead()

bool RTFileStream::OpenRead ( const char *  a_fileName)
inline

Definition at line 489 of file rtree.h.

◆ OpenWrite()

bool RTFileStream::OpenWrite ( const char *  a_fileName)
inline

Definition at line 499 of file rtree.h.

◆ Read()

template<typename TYPE >
size_t RTFileStream::Read ( TYPE &  a_value)
inline

Definition at line 533 of file rtree.h.

◆ ReadArray()

template<typename TYPE >
size_t RTFileStream::ReadArray ( TYPE *  a_array,
int  a_count 
)
inline

Definition at line 540 of file rtree.h.

◆ Write()

template<typename TYPE >
size_t RTFileStream::Write ( const TYPE &  a_value)
inline

Definition at line 519 of file rtree.h.

◆ WriteArray()

template<typename TYPE >
size_t RTFileStream::WriteArray ( const TYPE *  a_array,
int  a_count 
)
inline

Definition at line 526 of file rtree.h.

Member Data Documentation

◆ m_file

FILE* RTFileStream::m_file
private

Definition at line 474 of file rtree.h.

Referenced by Close(), OpenRead(), OpenWrite(), Read(), ReadArray(), RTFileStream(), Write(), and WriteArray().


The documentation for this class was generated from the following file: