Namespaces | Macros | Enumerations | Functions | Variables
stream.cpp File Reference
#include "stream.h"
#include <iostream>
#include "exp.h"
Include dependency graph for stream.cpp:

Go to the source code of this file.

Namespaces

 YAML_PM
 

Macros

#define CP_REPLACEMENT_CHARACTER   (0xFFFD)
 
#define S_ARRAY_END(A)   ((A) + S_ARRAY_SIZE(A))
 
#define S_ARRAY_SIZE(A)   (sizeof(A)/sizeof(*(A)))
 
#define YAML_PREFETCH_SIZE   2048
 

Enumerations

enum  YAML_PM::UtfIntroCharType {
  YAML_PM::uict00, YAML_PM::uictBB, YAML_PM::uictBF, YAML_PM::uictEF,
  YAML_PM::uictFE, YAML_PM::uictFF, YAML_PM::uictAscii, YAML_PM::uictOther,
  YAML_PM::uictMax
}
 
enum  YAML_PM::UtfIntroState {
  YAML_PM::uis_start, YAML_PM::uis_utfbe_b1, YAML_PM::uis_utf32be_b2, YAML_PM::uis_utf32be_bom3,
  YAML_PM::uis_utf32be, YAML_PM::uis_utf16be, YAML_PM::uis_utf16be_bom1, YAML_PM::uis_utfle_bom1,
  YAML_PM::uis_utf16le_bom2, YAML_PM::uis_utf32le_bom3, YAML_PM::uis_utf16le, YAML_PM::uis_utf32le,
  YAML_PM::uis_utf8_imp, YAML_PM::uis_utf16le_imp, YAML_PM::uis_utf32le_imp3, YAML_PM::uis_utf8_bom1,
  YAML_PM::uis_utf8_bom2, YAML_PM::uis_utf8, YAML_PM::uis_error
}
 

Functions

UtfIntroCharType YAML_PM::IntroCharTypeOf (std::istream::int_type ch)
 
void YAML_PM::QueueUnicodeCodepoint (std::deque< char > &q, unsigned long ch)
 
char * YAML_PM::ReadBuffer (unsigned char *pBuffer)
 
char YAML_PM::Utf8Adjust (unsigned long ch, unsigned char lead_bits, unsigned char rshift)
 

Variables

static bool YAML_PM::s_introFinalState []
 
static UtfIntroState YAML_PM::s_introTransitions [][uictMax]
 
static char YAML_PM::s_introUngetCount [][uictMax]
 

Macro Definition Documentation

◆ CP_REPLACEMENT_CHARACTER

#define CP_REPLACEMENT_CHARACTER   (0xFFFD)

Definition at line 12 of file stream.cpp.

◆ S_ARRAY_END

#define S_ARRAY_END (   A)    ((A) + S_ARRAY_SIZE(A))

Definition at line 10 of file stream.cpp.

◆ S_ARRAY_SIZE

#define S_ARRAY_SIZE (   A)    (sizeof(A)/sizeof(*(A)))

Definition at line 9 of file stream.cpp.

◆ YAML_PREFETCH_SIZE

#define YAML_PREFETCH_SIZE   2048

Definition at line 6 of file stream.cpp.



mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:46:00