C# Class OpenTransactions.OTAPI.Storage

Inheritance: IDisposable
显示文件 Open project: da2ce7/Open-Transactions-old Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Create ( StorageType eStorageType, PackType ePackType ) : Storage
CreateObject ( StoredObjectType eType ) : Storable
DecodeObject ( StoredObjectType theObjectType, string strInput ) : Storable
Dispose ( ) : void
EncodeObject ( Storable theContents ) : string
EraseValueByKey ( string strFolder ) : bool
EraseValueByKey ( string strFolder, string oneStr ) : bool
EraseValueByKey ( string strFolder, string oneStr, string twoStr ) : bool
EraseValueByKey ( string strFolder, string oneStr, string twoStr, string threeStr ) : bool
Exists ( string strFolder ) : bool
Exists ( string strFolder, string oneStr ) : bool
Exists ( string strFolder, string oneStr, string twoStr ) : bool
Exists ( string strFolder, string oneStr, string twoStr, string threeStr ) : bool
GetPacker ( ) : SWIGTYPE_p_OTPacker
GetPacker ( PackType ePackType ) : SWIGTYPE_p_OTPacker
GetType ( ) : StorageType
QueryObject ( StoredObjectType theObjectType, string strFolder ) : Storable
QueryObject ( StoredObjectType theObjectType, string strFolder, string oneStr ) : Storable
QueryObject ( StoredObjectType theObjectType, string strFolder, string oneStr, string twoStr ) : Storable
QueryObject ( StoredObjectType theObjectType, string strFolder, string oneStr, string twoStr, string threeStr ) : Storable
QueryPlainString ( string strFolder ) : string
QueryPlainString ( string strFolder, string oneStr ) : string
QueryPlainString ( string strFolder, string oneStr, string twoStr ) : string
QueryPlainString ( string strFolder, string oneStr, string twoStr, string threeStr ) : string
QueryString ( string strFolder ) : string
QueryString ( string strFolder, string oneStr ) : string
QueryString ( string strFolder, string oneStr, string twoStr ) : string
QueryString ( string strFolder, string oneStr, string twoStr, string threeStr ) : string
StoreObject ( Storable theContents, string strFolder ) : bool
StoreObject ( Storable theContents, string strFolder, string oneStr ) : bool
StoreObject ( Storable theContents, string strFolder, string oneStr, string twoStr ) : bool
StoreObject ( Storable theContents, string strFolder, string oneStr, string twoStr, string threeStr ) : bool
StorePlainString ( string strContents, string strFolder ) : bool
StorePlainString ( string strContents, string strFolder, string oneStr ) : bool
StorePlainString ( string strContents, string strFolder, string oneStr, string twoStr ) : bool
StorePlainString ( string strContents, string strFolder, string oneStr, string twoStr, string threeStr ) : bool
StoreString ( string strContents, string strFolder ) : bool
StoreString ( string strContents, string strFolder, string oneStr ) : bool
StoreString ( string strContents, string strFolder, string oneStr, string twoStr ) : bool
StoreString ( string strContents, string strFolder, string oneStr, string twoStr, string threeStr ) : bool

Private Methods

Method Description
Storage ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( Storage obj ) : HandleRef

Method Details

Create() public static method

public static Create ( StorageType eStorageType, PackType ePackType ) : Storage
eStorageType StorageType
ePackType PackType
return Storage

CreateObject() public method

public CreateObject ( StoredObjectType eType ) : Storable
eType StoredObjectType
return Storable

DecodeObject() public method

public DecodeObject ( StoredObjectType theObjectType, string strInput ) : Storable
theObjectType StoredObjectType
strInput string
return Storable

Dispose() public method

public Dispose ( ) : void
return void

EncodeObject() public method

public EncodeObject ( Storable theContents ) : string
theContents Storable
return string

EraseValueByKey() public method

public EraseValueByKey ( string strFolder ) : bool
strFolder string
return bool

EraseValueByKey() public method

public EraseValueByKey ( string strFolder, string oneStr ) : bool
strFolder string
oneStr string
return bool

EraseValueByKey() public method

public EraseValueByKey ( string strFolder, string oneStr, string twoStr ) : bool
strFolder string
oneStr string
twoStr string
return bool

EraseValueByKey() public method

public EraseValueByKey ( string strFolder, string oneStr, string twoStr, string threeStr ) : bool
strFolder string
oneStr string
twoStr string
threeStr string
return bool

Exists() public method

public Exists ( string strFolder ) : bool
strFolder string
return bool

Exists() public method

public Exists ( string strFolder, string oneStr ) : bool
strFolder string
oneStr string
return bool

Exists() public method

public Exists ( string strFolder, string oneStr, string twoStr ) : bool
strFolder string
oneStr string
twoStr string
return bool

Exists() public method

public Exists ( string strFolder, string oneStr, string twoStr, string threeStr ) : bool
strFolder string
oneStr string
twoStr string
threeStr string
return bool

GetPacker() public method

public GetPacker ( ) : SWIGTYPE_p_OTPacker
return SWIGTYPE_p_OTPacker

GetPacker() public method

public GetPacker ( PackType ePackType ) : SWIGTYPE_p_OTPacker
ePackType PackType
return SWIGTYPE_p_OTPacker

GetType() public method

public GetType ( ) : StorageType
return StorageType

QueryObject() public method

public QueryObject ( StoredObjectType theObjectType, string strFolder ) : Storable
theObjectType StoredObjectType
strFolder string
return Storable

QueryObject() public method

public QueryObject ( StoredObjectType theObjectType, string strFolder, string oneStr ) : Storable
theObjectType StoredObjectType
strFolder string
oneStr string
return Storable

QueryObject() public method

public QueryObject ( StoredObjectType theObjectType, string strFolder, string oneStr, string twoStr ) : Storable
theObjectType StoredObjectType
strFolder string
oneStr string
twoStr string
return Storable

QueryObject() public method

public QueryObject ( StoredObjectType theObjectType, string strFolder, string oneStr, string twoStr, string threeStr ) : Storable
theObjectType StoredObjectType
strFolder string
oneStr string
twoStr string
threeStr string
return Storable

QueryPlainString() public method

public QueryPlainString ( string strFolder ) : string
strFolder string
return string

QueryPlainString() public method

public QueryPlainString ( string strFolder, string oneStr ) : string
strFolder string
oneStr string
return string

QueryPlainString() public method

public QueryPlainString ( string strFolder, string oneStr, string twoStr ) : string
strFolder string
oneStr string
twoStr string
return string

QueryPlainString() public method

public QueryPlainString ( string strFolder, string oneStr, string twoStr, string threeStr ) : string
strFolder string
oneStr string
twoStr string
threeStr string
return string

QueryString() public method

public QueryString ( string strFolder ) : string
strFolder string
return string

QueryString() public method

public QueryString ( string strFolder, string oneStr ) : string
strFolder string
oneStr string
return string

QueryString() public method

public QueryString ( string strFolder, string oneStr, string twoStr ) : string
strFolder string
oneStr string
twoStr string
return string

QueryString() public method

public QueryString ( string strFolder, string oneStr, string twoStr, string threeStr ) : string
strFolder string
oneStr string
twoStr string
threeStr string
return string

StoreObject() public method

public StoreObject ( Storable theContents, string strFolder ) : bool
theContents Storable
strFolder string
return bool

StoreObject() public method

public StoreObject ( Storable theContents, string strFolder, string oneStr ) : bool
theContents Storable
strFolder string
oneStr string
return bool

StoreObject() public method

public StoreObject ( Storable theContents, string strFolder, string oneStr, string twoStr ) : bool
theContents Storable
strFolder string
oneStr string
twoStr string
return bool

StoreObject() public method

public StoreObject ( Storable theContents, string strFolder, string oneStr, string twoStr, string threeStr ) : bool
theContents Storable
strFolder string
oneStr string
twoStr string
threeStr string
return bool

StorePlainString() public method

public StorePlainString ( string strContents, string strFolder ) : bool
strContents string
strFolder string
return bool

StorePlainString() public method

public StorePlainString ( string strContents, string strFolder, string oneStr ) : bool
strContents string
strFolder string
oneStr string
return bool

StorePlainString() public method

public StorePlainString ( string strContents, string strFolder, string oneStr, string twoStr ) : bool
strContents string
strFolder string
oneStr string
twoStr string
return bool

StorePlainString() public method

public StorePlainString ( string strContents, string strFolder, string oneStr, string twoStr, string threeStr ) : bool
strContents string
strFolder string
oneStr string
twoStr string
threeStr string
return bool

StoreString() public method

public StoreString ( string strContents, string strFolder ) : bool
strContents string
strFolder string
return bool

StoreString() public method

public StoreString ( string strContents, string strFolder, string oneStr ) : bool
strContents string
strFolder string
oneStr string
return bool

StoreString() public method

public StoreString ( string strContents, string strFolder, string oneStr, string twoStr ) : bool
strContents string
strFolder string
oneStr string
twoStr string
return bool

StoreString() public method

public StoreString ( string strContents, string strFolder, string oneStr, string twoStr, string threeStr ) : bool
strContents string
strFolder string
oneStr string
twoStr string
threeStr string
return bool

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool