Inherits System::Object.
Public Types | |
using | Ptr = SharedPtr< XmlReaderSettings > |
An alias for shared pointer to an instance of this class. More... | |
Public Types inherited from System::Object | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
Public Member Functions | |
ASPOSECPP_SHARED_API SharedPtr< XmlNameTable > | get_NameTable () |
ASPOSECPP_SHARED_API void | set_NameTable (const SharedPtr< XmlNameTable > &value) |
ASPOSECPP_SHARED_API void | set_XmlResolver (const SharedPtr< System::Xml::XmlResolver > &value) |
ASPOSECPP_SHARED_API int32_t | get_LineNumberOffset () |
ASPOSECPP_SHARED_API void | set_LineNumberOffset (int32_t value) |
ASPOSECPP_SHARED_API int32_t | get_LinePositionOffset () |
ASPOSECPP_SHARED_API void | set_LinePositionOffset (int32_t value) |
ASPOSECPP_SHARED_API System::Xml::ConformanceLevel | get_ConformanceLevel () |
ASPOSECPP_SHARED_API void | set_ConformanceLevel (System::Xml::ConformanceLevel value) |
ASPOSECPP_SHARED_API bool | get_CheckCharacters () |
ASPOSECPP_SHARED_API void | set_CheckCharacters (bool value) |
ASPOSECPP_SHARED_API int64_t | get_MaxCharactersInDocument () |
ASPOSECPP_SHARED_API void | set_MaxCharactersInDocument (int64_t value) |
ASPOSECPP_SHARED_API int64_t | get_MaxCharactersFromEntities () |
ASPOSECPP_SHARED_API void | set_MaxCharactersFromEntities (int64_t value) |
ASPOSECPP_SHARED_API bool | get_IgnoreWhitespace () |
ASPOSECPP_SHARED_API void | set_IgnoreWhitespace (bool value) |
ASPOSECPP_SHARED_API bool | get_IgnoreProcessingInstructions () |
ASPOSECPP_SHARED_API void | set_IgnoreProcessingInstructions (bool value) |
ASPOSECPP_SHARED_API bool | get_IgnoreComments () |
ASPOSECPP_SHARED_API void | set_IgnoreComments (bool value) |
ASPOSECPP_SHARED_API bool | get_ProhibitDtd () |
ASPOSECPP_SHARED_API void | set_ProhibitDtd (bool value) |
ASPOSECPP_SHARED_API System::Xml::DtdProcessing | get_DtdProcessing () |
ASPOSECPP_SHARED_API void | set_DtdProcessing (System::Xml::DtdProcessing value) |
ASPOSECPP_SHARED_API bool | get_CloseInput () |
ASPOSECPP_SHARED_API void | set_CloseInput (bool value) |
ASPOSECPP_SHARED_API System::Xml::ValidationType | get_ValidationType () |
ASPOSECPP_SHARED_API void | set_ValidationType (System::Xml::ValidationType value) |
ASPOSECPP_SHARED_API Schema::XmlSchemaValidationFlags | get_ValidationFlags () |
ASPOSECPP_SHARED_API void | set_ValidationFlags (Schema::XmlSchemaValidationFlags value) |
ASPOSECPP_SHARED_API SharedPtr< Schema::XmlSchemaSet > | get_Schemas () |
ASPOSECPP_SHARED_API void | set_Schemas (const SharedPtr< Schema::XmlSchemaSet > &value) |
ASPOSECPP_SHARED_API | XmlReaderSettings () |
Initializes a new instance of the XmlReaderSettings class. More... | |
template<class... Args> | |
void | ValidationEventHandler_add (Args... value) |
template<class... Args> | |
void | ValidationEventHandler_remove (Args... value) |
ASPOSECPP_SHARED_API void | Reset () |
Resets the members of the settings class to their default values. More... | |
ASPOSECPP_SHARED_API SharedPtr< XmlReaderSettings > | Clone () |
ASPOSECPP_SHARED_API void | CheckReadOnly (const String &propertyName) |
Public Member Functions inherited from System::Object | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. More... | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. More... | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. More... | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More... | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. More... | |
int | SharedCount () const |
Gets current value of shared reference counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () const |
Analog of C# Object.ToString() method. Enables converting custom objects to string. More... | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More... | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
For internal purposes only. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
template<> | |
bool | Equals (double const &objA, double const &objB) |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Additional Inherited Members | |
Static Public Member Functions inherited from System::Object | |
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
Compares objects by reference. More... | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
Reference-compares value type object with nullptr. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares reference type objects in C# style. More... | |
template<typename T1 , typename T2 > | |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares value type objects in C# style. More... | |
static const TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. More... | |
Specifies a set of features to support on the XmlReader object created by the XmlReader::Create method.
An alias for shared pointer to an instance of this class.
ASPOSECPP_SHARED_API System::Xml::XmlReaderSettings::XmlReaderSettings | ( | ) |
Initializes a new instance of the XmlReaderSettings class.
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::CheckReadOnly | ( | const String & | propertyName | ) |
ASPOSECPP_SHARED_API SharedPtr<XmlReaderSettings> System::Xml::XmlReaderSettings::Clone | ( | ) |
Creates a copy of the XmlReaderSettings instance.
ASPOSECPP_SHARED_API bool System::Xml::XmlReaderSettings::get_CheckCharacters | ( | ) |
Returns a value indicating whether to do character checking.
true
to do character checking; otherwise false
. The default is true
. ASPOSECPP_SHARED_API bool System::Xml::XmlReaderSettings::get_CloseInput | ( | ) |
Returns a value indicating whether the underlying stream or TextReader should be closed when the reader is closed.
true
to close the underlying stream or TextReader when the reader is closed; otherwise false
. The default is false
. ASPOSECPP_SHARED_API System::Xml::ConformanceLevel System::Xml::XmlReaderSettings::get_ConformanceLevel | ( | ) |
Returns the level of conformance which the XmlReader will comply.
ASPOSECPP_SHARED_API System::Xml::DtdProcessing System::Xml::XmlReaderSettings::get_DtdProcessing | ( | ) |
Returns a value that determines the processing of DTDs.
ASPOSECPP_SHARED_API bool System::Xml::XmlReaderSettings::get_IgnoreComments | ( | ) |
Returns a value indicating whether to ignore comments.
true
to ignore comments; otherwise false
. The default is false
. ASPOSECPP_SHARED_API bool System::Xml::XmlReaderSettings::get_IgnoreProcessingInstructions | ( | ) |
Returns a value indicating whether to ignore processing instructions.
true
to ignore processing instructions; otherwise false
. The default is false
. ASPOSECPP_SHARED_API bool System::Xml::XmlReaderSettings::get_IgnoreWhitespace | ( | ) |
Returns a value indicating whether to ignore insignificant white space.
true
to ignore white space; otherwise false
. The default is false
. ASPOSECPP_SHARED_API int32_t System::Xml::XmlReaderSettings::get_LineNumberOffset | ( | ) |
Returns line number offset of the XmlReader object.
ASPOSECPP_SHARED_API int32_t System::Xml::XmlReaderSettings::get_LinePositionOffset | ( | ) |
Returns line position offset of the XmlReader object.
ASPOSECPP_SHARED_API int64_t System::Xml::XmlReaderSettings::get_MaxCharactersFromEntities | ( | ) |
Returns a value indicating the maximum allowable number of characters in a document that result from expanding entities.
ASPOSECPP_SHARED_API int64_t System::Xml::XmlReaderSettings::get_MaxCharactersInDocument | ( | ) |
Returns a value indicating the maximum allowable number of characters in an XML document. A zero (0) value means no limits on the size of the XML document. A non-zero value specifies the maximum size, in characters.
ASPOSECPP_SHARED_API SharedPtr<XmlNameTable> System::Xml::XmlReaderSettings::get_NameTable | ( | ) |
Returns the XmlNameTable used for atomized string comparisons.
nullptr
. The created XmlReader instance will use a new empty NameTable if this value is nullptr
. ASPOSECPP_SHARED_API bool System::Xml::XmlReaderSettings::get_ProhibitDtd | ( | ) |
Returns a value indicating whether to prohibit document type definition (DTD) processing.
true
to prohibit DTD processing; otherwise false
. The default is true
. ASPOSECPP_SHARED_API SharedPtr<Schema::XmlSchemaSet> System::Xml::XmlReaderSettings::get_Schemas | ( | ) |
Returns the XmlSchemaSet to use when performing schema validation.
ASPOSECPP_SHARED_API Schema::XmlSchemaValidationFlags System::Xml::XmlReaderSettings::get_ValidationFlags | ( | ) |
Returns a value indicating the schema validation settings. This setting applies to XmlReader objects that validate schemas (XmlReaderSettings::get_ValidationType value is ValidationType::Schema).
ASPOSECPP_SHARED_API System::Xml::ValidationType System::Xml::XmlReaderSettings::get_ValidationType | ( | ) |
Returns a value indicating whether the XmlReader will perform validation or type assignment when reading.
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::Reset | ( | ) |
Resets the members of the settings class to their default values.
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_CheckCharacters | ( | bool | value | ) |
Sets a value indicating whether to do character checking.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_CloseInput | ( | bool | value | ) |
Sets a value indicating whether the underlying stream or TextReader should be closed when the reader is closed.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_ConformanceLevel | ( | System::Xml::ConformanceLevel | value | ) |
Sets the level of conformance which the XmlReader will comply.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_DtdProcessing | ( | System::Xml::DtdProcessing | value | ) |
Sets a value that determines the processing of DTDs.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_IgnoreComments | ( | bool | value | ) |
Sets a value indicating whether to ignore comments.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_IgnoreProcessingInstructions | ( | bool | value | ) |
Sets a value indicating whether to ignore processing instructions.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_IgnoreWhitespace | ( | bool | value | ) |
Sets a value indicating whether to ignore insignificant white space.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_LineNumberOffset | ( | int32_t | value | ) |
Sets line number offset of the XmlReader object.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_LinePositionOffset | ( | int32_t | value | ) |
Sets line position offset of the XmlReader object.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_MaxCharactersFromEntities | ( | int64_t | value | ) |
Sets a value indicating the maximum allowable number of characters in a document that result from expanding entities.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_MaxCharactersInDocument | ( | int64_t | value | ) |
Sets a value indicating the maximum allowable number of characters in an XML document. A zero (0) value means no limits on the size of the XML document. A non-zero value specifies the maximum size, in characters.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_NameTable | ( | const SharedPtr< XmlNameTable > & | value | ) |
Sets the XmlNameTable used for atomized string comparisons.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_ProhibitDtd | ( | bool | value | ) |
Sets a value indicating whether to prohibit document type definition (DTD) processing.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_Schemas | ( | const SharedPtr< Schema::XmlSchemaSet > & | value | ) |
Sets the XmlSchemaSet to use when performing schema validation.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_ValidationFlags | ( | Schema::XmlSchemaValidationFlags | value | ) |
Sets a value indicating the schema validation settings. This setting applies to XmlReader objects that validate schemas (XmlReaderSettings::get_ValidationType value is ValidationType::Schema).
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_ValidationType | ( | System::Xml::ValidationType | value | ) |
Sets a value indicating whether the XmlReader will perform validation or type assignment when reading.
value | The value to set. |
ASPOSECPP_SHARED_API void System::Xml::XmlReaderSettings::set_XmlResolver | ( | const SharedPtr< System::Xml::XmlResolver > & | value | ) |
Sets the XmlResolver used to access external documents.
value | The value to set. |
|
inline |
Adds an event handler that occurs when the reader encounters validation errors.
value | A bound or static method or ValidationEventHandler instance. |
|
inline |
Removes an event handler that occurs when the reader encounters validation errors.
value | A bound or static method or ValidationEventHandler instance. |