MiKTeX 23.10-next
A scalable TeX distribution
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
C4P::BufferedFile< T > Struct Template Reference
Inheritance diagram for C4P::BufferedFile< T >:
Inheritance graph
[legend]
Collaboration diagram for C4P::BufferedFile< T >:
Collaboration graph
[legend]

Public Types

typedef T ElementType
 

Public Member Functions

void PascalFileIO (bool turnOn)
 
bool IsPascalFileIO () const
 
const ElementType & bufref () const
 
ElementType & bufref ()
 
const ElementType & operator* () const
 
ElementType & operator* ()
 
bool Eof ()
 
bool Eoln ()
 
void Read (ElementType *buf, std::size_t n)
 
void Read ()
 
void Reset ()
 
void Rewrite ()
 
void Write ()
 
void Seek (long offset, int origin)
 
- Public Member Functions inherited from C4P::FileRoot
bool Open (const MiKTeX::Util::PathName &path, MiKTeX::Core::FileMode mode, MiKTeX::Core::FileAccess access, bool text, bool mustExist)
 
void AssertValid () const
 
void Close ()
 
void Attach (FILE *file, bool takeOwnership)
 
 operator FILE * ()
 
FILE *& fileref ()
 
FILE * operator-> ()
 

Protected Types

enum  { Buffered = 0x00010000 }
 
- Protected Types inherited from C4P::FileRoot
enum  { NotOwner = 0x00000001 }
 

Protected Member Functions

std::size_t ReadInternal (ElementType *buf, std::size_t n)
 

Protected Attributes

ElementType currentElement
 
- Protected Attributes inherited from C4P::FileRoot
FILE * file = nullptr
 
unsigned flags = 0
 
MiKTeX::Util::PathName path
 

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