13 #pragma managed( push, off ) 47 if (
nullptr == pszBuffer ) {
52 else for (
int uCount = 0;; ) {
60 else if ( ( L
'\n' == ch ) || ( L
'\0' == ch ) ) {
62 pszBuffer[ uCount ] = L
'\0';
69 else if ( 0 != ::iswprint( ch ) ) {
71 if ( ( nSize - 1 ) > uCount ) {
73 pszBuffer[ uCount++ ] = ch;
165 if (
nullptr == pszString ) {
170 else for ( ;; ++pszString ) {
172 if ( L
'\0' == *pszString ) {
177 else if (
SkipChar( *pszString, bIgnore ) ) {
199 if ( !pcPointerList->Push( nPoint ) ) {
220 if ( !pcPointerList->Pop( nPoint ) ) {
244 #pragma managed( pop ) virtual bool SkipChar(wchar_t ch, bool bIgnore=false) noexcept
1文字スキップ関数
LIB_COMMON_API bool CompareCharCode(wchar_t ch1, wchar_t ch2, bool bIgnore) noexcept
文字コード比較関数
virtual bool InputChar(wchar_t &rCh) noexcept=0
1文字入力関数
virtual bool IsStreamEnd() const noexcept
ストリーム終端状態取得関数
CStream() noexcept
コンストラクタ
virtual int GetStreamPoint() const noexcept
ストリームポインタ取得関数
virtual bool PopStreamPoint(CArray< int > *pcPointerList, bool bResume) noexcept
ストリームポインタポップ数
virtual bool SetStreamPoint(int nPoint) noexcept
ストリームポインタ設定関数
virtual int InputString(wchar_t *pszBuffer, int nSize) noexcept
文字列入力関数
virtual bool PushStreamPoint(CArray< int > *pcPointerList) noexcept
ストリームポインタプッシュ関数
virtual bool SkipSpace() noexcept
空白スキップ関数
virtual int GetStreamSize() const noexcept
ストリームサイズ取得関数
#define LIB_COMMON_API
ダイナミックライブラリインポート宣言