C# 클래스 Yaml.Integer

Class for storing a Yaml Integer node uri: tag:yaml.org,2002:int
상속: Scalar
파일 보기 프로젝트 열기: rs-services/RightGridWindowsImplementation 1 사용 예제들

공개 메소드들

메소드 설명
Integer ( ParseStream stream ) : System

Parse an integer

Integer ( long val ) : System

New Integer

ToString ( ) : string

To String

보호된 메소드들

메소드 설명
Write ( WriteStream stream ) : void

Write to YAML

비공개 메소드들

메소드 설명
OverflowTest ( ulong number, short sign ) : void

Test that the unsigned int fits in a signed int

Parse16 ( ParseStream stream, short sign ) : long

Hexadecimal string

Parse60 ( ParseStream stream, short sign ) : long

Parses a string with base 60, without sign

ParseBase ( ParseStream stream, uint basis, short sign ) : long

Parses a string with a given base (maximum 10)

This is not completly correct. For base10 the first char may not be a '_' The other bases allow this...

메소드 상세

Integer() 공개 메소드

Parse an integer
public Integer ( ParseStream stream ) : System
stream ParseStream
리턴 System

Integer() 공개 메소드

New Integer
public Integer ( long val ) : System
val long
리턴 System

ToString() 공개 메소드

To String
public ToString ( ) : string
리턴 string

Write() 보호된 메소드

Write to YAML
protected Write ( WriteStream stream ) : void
stream WriteStream
리턴 void