zenilib: pp::Input Class Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
pp::Input Class Reference

`#include <Input.h>`

## Classes

struct | Location

## Public Member Functions

| Input ()
| Input (size_t count, const char *const string[], const int length[])
size_t | count () const
size_t | length (size_t index) const
size_t | read (char *buf, size_t maxSize)
const Location & | readLoc () const
const char * | string (size_t index) const

## Detailed Description

Definition at line 17 of file Input.h.

## Constructor & Destructor Documentation

pp::Input::Input | ( |  | ) |

Definition at line 16 of file Input.cpp.

pp::Input::Input | ( | size_t | count,
|  | const char *const | string[],
|  | const int | length[]
| ) |  |

Definition at line 20 of file Input.cpp.

References i.

## Member Function Documentation

size_t pp::Input::count | ( |  | ) | const

inline

Definition at line 23 of file Input.h.

Referenced by while().

size_t pp::Input::length | ( | size_t | index | ) | const

inline

Definition at line 25 of file Input.h.

size_t pp::Input::read | ( | char * | buf,
|  | size_t | maxSize
| ) |  |

Definition at line 32 of file Input.cpp.

References pp::Input::Location::cIndex, memcpy, min, and pp::Input::Location::sIndex.

const Location& pp::Input::readLoc | ( |  | ) | const

inline

Definition at line 36 of file Input.h.

const char* pp::Input::string | ( | size_t | index | ) | const

inline

Definition at line 24 of file Input.h.

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

- zenilib/jni/external/angle/src/compiler/preprocessor/Input.h
- zenilib/jni/external/angle/src/compiler/preprocessor/Input.cpp