C# 클래스 IronRuby.Builtins.MutableString.Content

파일 보기 프로젝트 열기: jschementi/iron

보호된 프로퍼티들

프로퍼티 타입 설명
_owner MutableString

공개 메소드들

메소드 설명
Append ( Content content, int start, int count ) : void
Append ( System.Stream stream, int count ) : void
Append ( byte b, int repeatCount ) : void
Append ( byte bytes, int start, int count ) : void
Append ( char c, int repeatCount ) : void
Append ( char chars, int start, int count ) : void
Append ( string str, int start, int count ) : void
AppendFormat ( IFormatProvider provider, string format, object args ) : void
AppendTo ( BinaryContent content, int start, int count ) : void
AppendTo ( CharArrayContent content, int start, int count ) : void
AppendTo ( StringContent content, int start, int count ) : void
CalculateHashCode ( ) : int
CheckEncoding ( ) : void
Clone ( ) : Content
Concat ( Content content ) : Content
ConcatTo ( BinaryContent content ) : Content
ConcatTo ( CharArrayContent content ) : Content
ConcatTo ( StringContent content ) : Content
ContainsInvalidCharacters ( ) : bool
ConvertToBytes ( ) : byte[]
ConvertToString ( ) : string
EscapeRegularExpression ( ) : Content
GetBinarySlice ( int start, int count ) : byte[]
GetByte ( int index ) : byte

Gets index'th byte of the string. Throws if the string includes invalid characters.

GetByteCount ( ) : int

Returns the number of bytes in the string. Throws if the string includes invalid characters.

GetBytes ( ) : IEnumerable
GetCapacity ( ) : int
GetChar ( int index ) : char

Gets index'th character of the string. Throws if the string includes invalid characters.

GetCharCount ( ) : int

Returns the number of characters in the string. Counts surrogates as two characters.

GetCharacterCount ( ) : int

Returns the number of true Unicode characters in the string.

GetCharacters ( ) : CharacterEnumerator
GetSlice ( int start, int count ) : Content

Returns a slice of the content. The size of the slice could be less than the requested count if there is not enough data in the content. Returns an empty content if start is greater than the size of the content. The owner of the result is the current owner.

GetStringSlice ( int start, int count ) : string
IndexIn ( Content str, int start, int count ) : int
IndexOf ( byte b, int start, int count ) : int
IndexOf ( char c, int start, int count ) : int
IndexOf ( string str, int start, int count ) : int
Insert ( int index, byte b ) : void
Insert ( int index, byte bytes, int start, int count ) : void
Insert ( int index, char c ) : void
Insert ( int index, char chars, int start, int count ) : void
Insert ( int index, string str, int start, int count ) : void
InsertTo ( Content str, int index, int start, int count ) : void
LastIndexIn ( Content str, int start, int count ) : int
LastIndexOf ( byte b, int start, int count ) : int
LastIndexOf ( char c, int start, int count ) : int
LastIndexOf ( string str, int start, int count ) : int
OrdinalCompareTo ( Content content ) : int
OrdinalCompareTo ( string str ) : int
Remove ( int start, int count ) : void
ReverseOrdinalCompareTo ( BinaryContent content ) : int
ReverseOrdinalCompareTo ( CharArrayContent content ) : int
ReverseOrdinalCompareTo ( StringContent content ) : int
SetByte ( int index, byte b ) : void
SetCapacity ( int capacity ) : void
SetChar ( int index, char c ) : void
StartsWith ( char c ) : bool
SwitchToBinaryContent ( ) : Content
SwitchToMutableContent ( ) : Content
SwitchToStringContent ( ) : Content
ToByteArray ( ) : byte[]
TrimExcess ( ) : void
UpdateCharacterFlags ( uint flags ) : uint
Write ( int offset, byte value, int repeatCount ) : void
Write ( int offset, byte value, int start, int count ) : void

보호된 메소드들

메소드 설명
Content ( MutableString owner ) : System
WrapContent ( byte bytes, int count ) : BinaryContent
WrapContent ( char chars, int count ) : CharArrayContent

비공개 메소드들

메소드 설명
GetByteArray ( int &count ) : byte[]
SetOwner ( MutableString owner ) : void
UpdateAsciiAndSurrogatesFlags ( char str, int itemCount, uint flags ) : uint
UpdateAsciiAndSurrogatesFlags ( string str, uint flags ) : uint

메소드 상세

Append() 공개 추상적인 메소드

public abstract Append ( Content content, int start, int count ) : void
content Content
start int
count int
리턴 void

Append() 공개 추상적인 메소드

public abstract Append ( System.Stream stream, int count ) : void
stream System.Stream
count int
리턴 void

Append() 공개 추상적인 메소드

public abstract Append ( byte b, int repeatCount ) : void
b byte
repeatCount int
리턴 void

Append() 공개 추상적인 메소드

public abstract Append ( byte bytes, int start, int count ) : void
bytes byte
start int
count int
리턴 void

Append() 공개 추상적인 메소드

public abstract Append ( char c, int repeatCount ) : void
c char
repeatCount int
리턴 void

Append() 공개 추상적인 메소드

public abstract Append ( char chars, int start, int count ) : void
chars char
start int
count int
리턴 void

Append() 공개 추상적인 메소드

public abstract Append ( string str, int start, int count ) : void
str string
start int
count int
리턴 void

AppendFormat() 공개 추상적인 메소드

public abstract AppendFormat ( IFormatProvider provider, string format, object args ) : void
provider IFormatProvider
format string
args object
리턴 void

AppendTo() 공개 추상적인 메소드

public abstract AppendTo ( BinaryContent content, int start, int count ) : void
content BinaryContent
start int
count int
리턴 void

AppendTo() 공개 추상적인 메소드

public abstract AppendTo ( CharArrayContent content, int start, int count ) : void
content CharArrayContent
start int
count int
리턴 void

AppendTo() 공개 추상적인 메소드

public abstract AppendTo ( StringContent content, int start, int count ) : void
content StringContent
start int
count int
리턴 void

CalculateHashCode() 공개 추상적인 메소드

public abstract CalculateHashCode ( ) : int
리턴 int

CheckEncoding() 공개 추상적인 메소드

public abstract CheckEncoding ( ) : void
리턴 void

Clone() 공개 추상적인 메소드

public abstract Clone ( ) : Content
리턴 Content

Concat() 공개 추상적인 메소드

public abstract Concat ( Content content ) : Content
content Content
리턴 Content

ConcatTo() 공개 추상적인 메소드

public abstract ConcatTo ( BinaryContent content ) : Content
content BinaryContent
리턴 Content

ConcatTo() 공개 추상적인 메소드

public abstract ConcatTo ( CharArrayContent content ) : Content
content CharArrayContent
리턴 Content

ConcatTo() 공개 추상적인 메소드

public abstract ConcatTo ( StringContent content ) : Content
content StringContent
리턴 Content

ContainsInvalidCharacters() 공개 추상적인 메소드

public abstract ContainsInvalidCharacters ( ) : bool
리턴 bool

Content() 보호된 메소드

protected Content ( MutableString owner ) : System
owner MutableString
리턴 System

ConvertToBytes() 공개 추상적인 메소드

public abstract ConvertToBytes ( ) : byte[]
리턴 byte[]

ConvertToString() 공개 추상적인 메소드

public abstract ConvertToString ( ) : string
리턴 string

EscapeRegularExpression() 공개 추상적인 메소드

public abstract EscapeRegularExpression ( ) : Content
리턴 Content

GetBinarySlice() 공개 추상적인 메소드

public abstract GetBinarySlice ( int start, int count ) : byte[]
start int
count int
리턴 byte[]

GetByte() 공개 추상적인 메소드

Gets index'th byte of the string. Throws if the string includes invalid characters.
public abstract GetByte ( int index ) : byte
index int
리턴 byte

GetByteCount() 공개 추상적인 메소드

Returns the number of bytes in the string. Throws if the string includes invalid characters.
public abstract GetByteCount ( ) : int
리턴 int

GetBytes() 공개 추상적인 메소드

public abstract GetBytes ( ) : IEnumerable
리턴 IEnumerable

GetCapacity() 공개 추상적인 메소드

public abstract GetCapacity ( ) : int
리턴 int

GetChar() 공개 추상적인 메소드

Gets index'th character of the string. Throws if the string includes invalid characters.
public abstract GetChar ( int index ) : char
index int
리턴 char

GetCharCount() 공개 추상적인 메소드

Returns the number of characters in the string. Counts surrogates as two characters.
Invalid character.
public abstract GetCharCount ( ) : int
리턴 int

GetCharacterCount() 공개 추상적인 메소드

Returns the number of true Unicode characters in the string.
public abstract GetCharacterCount ( ) : int
리턴 int

GetCharacters() 공개 추상적인 메소드

public abstract GetCharacters ( ) : CharacterEnumerator
리턴 CharacterEnumerator

GetSlice() 공개 추상적인 메소드

Returns a slice of the content. The size of the slice could be less than the requested count if there is not enough data in the content. Returns an empty content if start is greater than the size of the content. The owner of the result is the current owner.
public abstract GetSlice ( int start, int count ) : Content
start int
count int
리턴 Content

GetStringSlice() 공개 추상적인 메소드

public abstract GetStringSlice ( int start, int count ) : string
start int
count int
리턴 string

IndexIn() 공개 추상적인 메소드

public abstract IndexIn ( Content str, int start, int count ) : int
str Content
start int
count int
리턴 int

IndexOf() 공개 추상적인 메소드

public abstract IndexOf ( byte b, int start, int count ) : int
b byte
start int
count int
리턴 int

IndexOf() 공개 추상적인 메소드

public abstract IndexOf ( char c, int start, int count ) : int
c char
start int
count int
리턴 int

IndexOf() 공개 추상적인 메소드

public abstract IndexOf ( string str, int start, int count ) : int
str string
start int
count int
리턴 int

Insert() 공개 추상적인 메소드

public abstract Insert ( int index, byte b ) : void
index int
b byte
리턴 void

Insert() 공개 추상적인 메소드

public abstract Insert ( int index, byte bytes, int start, int count ) : void
index int
bytes byte
start int
count int
리턴 void

Insert() 공개 추상적인 메소드

public abstract Insert ( int index, char c ) : void
index int
c char
리턴 void

Insert() 공개 추상적인 메소드

public abstract Insert ( int index, char chars, int start, int count ) : void
index int
chars char
start int
count int
리턴 void

Insert() 공개 추상적인 메소드

public abstract Insert ( int index, string str, int start, int count ) : void
index int
str string
start int
count int
리턴 void

InsertTo() 공개 추상적인 메소드

public abstract InsertTo ( Content str, int index, int start, int count ) : void
str Content
index int
start int
count int
리턴 void

LastIndexIn() 공개 추상적인 메소드

public abstract LastIndexIn ( Content str, int start, int count ) : int
str Content
start int
count int
리턴 int

LastIndexOf() 공개 추상적인 메소드

public abstract LastIndexOf ( byte b, int start, int count ) : int
b byte
start int
count int
리턴 int

LastIndexOf() 공개 추상적인 메소드

public abstract LastIndexOf ( char c, int start, int count ) : int
c char
start int
count int
리턴 int

LastIndexOf() 공개 추상적인 메소드

public abstract LastIndexOf ( string str, int start, int count ) : int
str string
start int
count int
리턴 int

OrdinalCompareTo() 공개 추상적인 메소드

public abstract OrdinalCompareTo ( Content content ) : int
content Content
리턴 int

OrdinalCompareTo() 공개 추상적인 메소드

public abstract OrdinalCompareTo ( string str ) : int
str string
리턴 int

Remove() 공개 추상적인 메소드

public abstract Remove ( int start, int count ) : void
start int
count int
리턴 void

ReverseOrdinalCompareTo() 공개 추상적인 메소드

public abstract ReverseOrdinalCompareTo ( BinaryContent content ) : int
content BinaryContent
리턴 int

ReverseOrdinalCompareTo() 공개 추상적인 메소드

public abstract ReverseOrdinalCompareTo ( CharArrayContent content ) : int
content CharArrayContent
리턴 int

ReverseOrdinalCompareTo() 공개 추상적인 메소드

public abstract ReverseOrdinalCompareTo ( StringContent content ) : int
content StringContent
리턴 int

SetByte() 공개 추상적인 메소드

public abstract SetByte ( int index, byte b ) : void
index int
b byte
리턴 void

SetCapacity() 공개 추상적인 메소드

public abstract SetCapacity ( int capacity ) : void
capacity int
리턴 void

SetChar() 공개 추상적인 메소드

public abstract SetChar ( int index, char c ) : void
index int
c char
리턴 void

StartsWith() 공개 추상적인 메소드

public abstract StartsWith ( char c ) : bool
c char
리턴 bool

SwitchToBinaryContent() 공개 추상적인 메소드

public abstract SwitchToBinaryContent ( ) : Content
리턴 Content

SwitchToMutableContent() 공개 추상적인 메소드

public abstract SwitchToMutableContent ( ) : Content
리턴 Content

SwitchToStringContent() 공개 추상적인 메소드

public abstract SwitchToStringContent ( ) : Content
리턴 Content

ToByteArray() 공개 추상적인 메소드

public abstract ToByteArray ( ) : byte[]
리턴 byte[]

TrimExcess() 공개 추상적인 메소드

public abstract TrimExcess ( ) : void
리턴 void

UpdateCharacterFlags() 공개 추상적인 메소드

public abstract UpdateCharacterFlags ( uint flags ) : uint
flags uint
리턴 uint

WrapContent() 보호된 메소드

protected WrapContent ( byte bytes, int count ) : BinaryContent
bytes byte
count int
리턴 BinaryContent

WrapContent() 보호된 메소드

protected WrapContent ( char chars, int count ) : CharArrayContent
chars char
count int
리턴 CharArrayContent

Write() 공개 추상적인 메소드

public abstract Write ( int offset, byte value, int repeatCount ) : void
offset int
value byte
repeatCount int
리턴 void

Write() 공개 추상적인 메소드

public abstract Write ( int offset, byte value, int start, int count ) : void
offset int
value byte
start int
count int
리턴 void

프로퍼티 상세

_owner 보호되어 있는 프로퍼티

protected MutableString _owner
리턴 MutableString