w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

graphite2::FileFace Class Reference

#include <FileFace.h>

Collaboration diagram for graphite2::FileFace:
[legend]

Public Member Functions

 FileFace (const char *filename)
 
 ~FileFace ()
 
 operator bool () const throw ()
 
 FileFace (const char *filename)
 
 ~FileFace ()
 
 operator bool () const throw ()
 

Public Attributes

 CLASS_NEW_DELETE
 

Static Public Attributes

static const gr_face_ops ops = { sizeof FileFace::ops, &FileFace::get_table_fn, &FileFace::rel_table_fn }
 

Private Member Functions

 FileFace (const FileFace &)
 
FileFaceoperator= (const FileFace &)
 
 FileFace (const FileFace &)
 
FileFaceoperator= (const FileFace &)
 

Static Private Member Functions

static const voidget_table_fn (const void *appFaceHandle, unsigned int name, size_t *len)
 
static void rel_table_fn (const void *appFaceHandle, const void *table_buffer)
 
static const voidget_table_fn (const void *appFaceHandle, unsigned int name, size_t *len)
 
static void rel_table_fn (const void *appFaceHandle, const void *table_buffer)
 

Private Attributes

FILE_file
 
size_t _file_len
 
TtfUtil::Sfnt::OffsetSubTable_header_tbl
 
TtfUtil::Sfnt::OffsetSubTable::Entry_table_dir
 

Detailed Description

Definition at line 47 of file FileFace.h.

Constructor & Destructor Documentation

◆ FileFace() [1/4]

◆ ~FileFace() [1/2]

FileFace::~FileFace ( )

Definition at line 71 of file FileFace.cpp.

References _file, _header_tbl, _table_dir, fclose, and free.

◆ FileFace() [2/4]

graphite2::FileFace::FileFace ( const FileFace )
private

◆ FileFace() [3/4]

graphite2::FileFace::FileFace ( const char *  filename)

◆ ~FileFace() [2/2]

graphite2::FileFace::~FileFace ( )

◆ FileFace() [4/4]

graphite2::FileFace::FileFace ( const FileFace )
private

Member Function Documentation

◆ get_table_fn() [1/2]

const void * FileFace::get_table_fn ( const void appFaceHandle,
unsigned int  name,
size_t len 
)
staticprivate

◆ get_table_fn() [2/2]

static const void* graphite2::FileFace::get_table_fn ( const void appFaceHandle,
unsigned int  name,
size_t len 
)
staticprivate

◆ operator bool() [1/2]

graphite2::FileFace::operator bool ( ) const
throw (
)
inline

Definition at line 73 of file FileFace.h.

References _file, _header_tbl, and _table_dir.

◆ operator bool() [2/2]

graphite2::FileFace::operator bool ( ) const
throw (
)

◆ operator=() [1/2]

FileFace& graphite2::FileFace::operator= ( const FileFace )
private

◆ operator=() [2/2]

FileFace& graphite2::FileFace::operator= ( const FileFace )
private

References _file, _header_tbl, and _table_dir.

◆ rel_table_fn() [1/2]

void FileFace::rel_table_fn ( const void appFaceHandle,
const void table_buffer 
)
staticprivate

Definition at line 105 of file FileFace.cpp.

References free.

◆ rel_table_fn() [2/2]

static void graphite2::FileFace::rel_table_fn ( const void appFaceHandle,
const void table_buffer 
)
staticprivate

Member Data Documentation

◆ _file

FILE * graphite2::FileFace::_file
private

Definition at line 62 of file FileFace.h.

Referenced by FileFace(), get_table_fn(), operator bool(), operator=(), and ~FileFace().

◆ _file_len

size_t graphite2::FileFace::_file_len
private

Definition at line 63 of file FileFace.h.

Referenced by FileFace(), and get_table_fn().

◆ _header_tbl

TtfUtil::Sfnt::OffsetSubTable * graphite2::FileFace::_header_tbl
private

Definition at line 65 of file FileFace.h.

Referenced by FileFace(), get_table_fn(), operator bool(), operator=(), and ~FileFace().

◆ _table_dir

TtfUtil::Sfnt::OffsetSubTable::Entry * graphite2::FileFace::_table_dir
private

Definition at line 66 of file FileFace.h.

Referenced by FileFace(), get_table_fn(), operator bool(), operator=(), and ~FileFace().

◆ CLASS_NEW_DELETE

graphite2::FileFace::CLASS_NEW_DELETE

Definition at line 59 of file FileFace.h.

◆ ops

static const gr_face_ops graphite2::FileFace::ops = { sizeof FileFace::ops, &FileFace::get_table_fn, &FileFace::rel_table_fn }
static

Definition at line 53 of file FileFace.h.


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