mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Updated libSystem.XML file comments
Added missing TypeInfos to libSystem Updated libSystem file comments
This commit is contained in:
parent
95bf1d7ebc
commit
cc43a97149
@ -1,3 +1,9 @@
|
||||
/*****************************************************************************
|
||||
* Debug.h *
|
||||
* *
|
||||
* System::Diagnostics::Debug class definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_DIAGNOSTICS_DEBUG_
|
||||
#define _SYSTEM_DIAGNOSTICS_DEBUG_
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
/*****************************************************************************
|
||||
* EndPoint.h *
|
||||
* *
|
||||
* System::Net::EndPoint class definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_NET_ENDPOINT_
|
||||
#define _SYSTEM_NET_ENDPOINT_
|
||||
|
||||
@ -12,8 +18,10 @@ namespace System
|
||||
{
|
||||
class SocketAddress;
|
||||
|
||||
// Identifies a network address. This is an abstract class.
|
||||
class EndPoint : public virtual Object
|
||||
/**
|
||||
* Identifies a network address. This is an abstract class.
|
||||
*/
|
||||
class EndPoint : public Object
|
||||
{
|
||||
protected:
|
||||
EndPoint();
|
||||
@ -22,7 +30,7 @@ namespace System
|
||||
AddressFamily_t getAddressFamily();
|
||||
|
||||
virtual EndPoint* Create(SocketAddress socketAddress);
|
||||
virtual SocketAddress Serialize();
|
||||
virtual SocketAddress* Serialize();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,9 @@
|
||||
/*****************************************************************************
|
||||
* SocketAddress.h *
|
||||
* *
|
||||
* System::Net::SocketAddress class definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_NET_SOCKETADDRESS_
|
||||
#define _SYSTEM_NET_SOCKETADDRESS_
|
||||
|
||||
@ -11,8 +17,10 @@ namespace System
|
||||
{
|
||||
namespace Net
|
||||
{
|
||||
// Stores serialized information from System::Net::EndPoint derived classes.
|
||||
class SocketAddress : public virtual Object
|
||||
/**
|
||||
* Stores serialized information from System::Net::EndPoint derived classes.
|
||||
*/
|
||||
class SocketAddress : public Object
|
||||
{
|
||||
private:
|
||||
AddressFamily_t addressFamily;
|
||||
@ -26,7 +34,8 @@ namespace System
|
||||
SocketAddress(AddressFamily_t family);
|
||||
SocketAddress(AddressFamily_t family, int size);
|
||||
|
||||
char* ToString();
|
||||
const Type& GetType();
|
||||
const String ToString();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,9 @@
|
||||
/*****************************************************************************
|
||||
* Enums.h *
|
||||
* *
|
||||
* System::Net::Sockets enumerations definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_NET_SOCKETS_ENUMS_
|
||||
#define _SYSTEM_NET_SOCKETS_ENUMS_
|
||||
|
||||
@ -74,12 +80,30 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
typedef AddressFamily::type AddressFamily_t; // Specifies the addressing scheme that an instance of the System::Net::Sockets::Socket class can use.
|
||||
typedef ProtocolType::type ProtocolType_t; // Specifies the protocols that the System::Net::Sockets::Socket class supports.
|
||||
typedef SocketAsyncOperation::type SocketAsyncOperation_t; // The type of asynchronous socket operation most recently performed with this object.
|
||||
typedef SocketError::type SocketError_t; // Defines error codes for the System::Net::Sockets::Socket class.
|
||||
typedef SocketShutdown::type SocketShutdown_t; // Defines constants that are used by the System::Net::Sockets::Socket::Shutdown(System::Net::Sockets::SocketShutdown) method.
|
||||
typedef SocketType::type SocketType_t; // Specifies the type of socket that an instance of the System::Net::Sockets::Socket class represents.
|
||||
/**
|
||||
* Specifies the addressing scheme that an instance of the System::Net::Sockets::Socket class can use.
|
||||
*/
|
||||
typedef AddressFamily::type AddressFamily_t;
|
||||
/**
|
||||
* Specifies the protocols that the System::Net::Sockets::Socket class supports.
|
||||
*/
|
||||
typedef ProtocolType::type ProtocolType_t;
|
||||
/**
|
||||
* The type of asynchronous socket operation most recently performed with this object.
|
||||
*/
|
||||
typedef SocketAsyncOperation::type SocketAsyncOperation_t;
|
||||
/**
|
||||
* Defines error codes for the System::Net::Sockets::Socket class.
|
||||
*/
|
||||
typedef SocketError::type SocketError_t;
|
||||
/**
|
||||
* Defines constants that are used by the System::Net::Sockets::Socket::Shutdown(System::Net::Sockets::SocketShutdown) method.
|
||||
*/
|
||||
typedef SocketShutdown::type SocketShutdown_t;
|
||||
/**
|
||||
* Specifies the type of socket that an instance of the System::Net::Sockets::Socket class represents.
|
||||
*/
|
||||
typedef SocketType::type SocketType_t;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,8 +29,9 @@ namespace System
|
||||
{
|
||||
private:
|
||||
AddressFamily_t addressFamily;
|
||||
bool isConnected;
|
||||
HANDLE handle;
|
||||
bool isConnected;
|
||||
ProtocolType_t protocolType;
|
||||
|
||||
protected:
|
||||
virtual ~Socket();
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*****************************************************************************
|
||||
* SocketAsyncEventArgs.h *
|
||||
* *
|
||||
* System::Net::Sockets::SocketAsyncEventArgs definition file *
|
||||
* Copyright (c) XFX Team. All rights reserved *
|
||||
* System::Net::Sockets::SocketAsyncEventArgs definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_NET_SOCKETS_SOCKETASYNCEVENTARGS_
|
||||
#define _SYSTEM_NET_SOCKETS_SOCKETASYNCEVENTARGS_
|
||||
|
@ -1,3 +1,9 @@
|
||||
/*****************************************************************************
|
||||
* Enums.h *
|
||||
* *
|
||||
* System::Xml Enumerations definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_XML_ENUMS_
|
||||
#define _SYSTEM_XML_ENUMS_
|
||||
|
||||
@ -5,8 +11,6 @@ namespace System
|
||||
{
|
||||
namespace Xml
|
||||
{
|
||||
// Specifies the amount of input or output checking that the created System::Xml::XmlReader and
|
||||
// System::Xml::XmlWriter objects perform.
|
||||
struct ConformanceLevel
|
||||
{
|
||||
enum type
|
||||
@ -17,17 +21,15 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies how the System::Xml::XmlTextReader or System::Xml::XmlValidatingReader handle entities.
|
||||
struct EntityHandling
|
||||
{
|
||||
enum type
|
||||
{
|
||||
ExpandCharEntities = 2,
|
||||
ExpandEntities = 1
|
||||
ExpandEntities = 1
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies formatting options for the System::Xml::XmlTextWriter.
|
||||
struct Formatting
|
||||
{
|
||||
enum type
|
||||
@ -37,7 +39,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies how to handle line breaks.
|
||||
struct NewLineHandling
|
||||
{
|
||||
enum type
|
||||
@ -48,7 +49,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies the state of the reader.
|
||||
struct ReadState
|
||||
{
|
||||
enum type
|
||||
@ -61,7 +61,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies the type of validation to perform.
|
||||
struct ValidationType
|
||||
{
|
||||
enum type
|
||||
@ -71,7 +70,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies how white space is handled.
|
||||
struct WhitespaceHandling
|
||||
{
|
||||
enum type
|
||||
@ -82,7 +80,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies the state of the System::Xml::XmlWriter.
|
||||
struct WriteState
|
||||
{
|
||||
enum type
|
||||
@ -97,7 +94,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies how to treat the time value when converting between string and System::DateTime.
|
||||
struct XmlDateTimeSerializationMode
|
||||
{
|
||||
enum type
|
||||
@ -109,7 +105,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Defines the namespace scope.
|
||||
struct XmlNamespaceScope
|
||||
{
|
||||
enum type
|
||||
@ -120,7 +115,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies the type of node change.
|
||||
struct XmlNodeChangedAction
|
||||
{
|
||||
enum type
|
||||
@ -131,7 +125,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Describes the document order of a node compared to a second node.
|
||||
struct XmlNodeOrder
|
||||
{
|
||||
enum type
|
||||
@ -143,7 +136,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies the type of node.
|
||||
struct XmlNodeType
|
||||
{
|
||||
enum type
|
||||
@ -169,7 +161,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies the method used to serialize the System::Xml::XmlWriter output.
|
||||
struct XmlOutputMethod
|
||||
{
|
||||
enum type
|
||||
@ -179,7 +170,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies the current xml:space scope.
|
||||
struct XmlSpace
|
||||
{
|
||||
enum type
|
||||
@ -190,8 +180,6 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
// Represents the XML type for the string. This allows the string to be read as a particular XML type, for example
|
||||
// a CDATA section type.
|
||||
struct XmlTokenizedType
|
||||
{
|
||||
enum type
|
||||
@ -212,21 +200,72 @@ namespace System
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Specifies the amount of input or output checking that the created System::Xml::XmlReader and
|
||||
* System::Xml::XmlWriter objects perform.
|
||||
*/
|
||||
typedef ConformanceLevel::type ConformanceLevel_t;
|
||||
/**
|
||||
* Specifies how the System::Xml::XmlTextReader or System::Xml::XmlValidatingReader handle entities.
|
||||
*/
|
||||
typedef EntityHandling::type EntityHandling_t;
|
||||
/**
|
||||
* Specifies formatting options for the System::Xml::XmlTextWriter.
|
||||
*/
|
||||
typedef Formatting::type Formatting_t;
|
||||
/**
|
||||
* Specifies how to handle line breaks.
|
||||
*/
|
||||
typedef NewLineHandling::type NewLineHandling_t;
|
||||
typedef ReadState::type ReadState_t;
|
||||
/**
|
||||
* Specifies the state of the reader.
|
||||
*/
|
||||
typedef ReadState::type ReadState_t;
|
||||
/**
|
||||
* Specifies the type of validation to perform.
|
||||
*/
|
||||
typedef ValidationType::type ValidationType_t;
|
||||
/**
|
||||
* Specifies how white space is handled.
|
||||
*/
|
||||
typedef WhitespaceHandling::type WhitespaceHandling_t;
|
||||
/**
|
||||
* Specifies the state of the System::Xml::XmlWriter.
|
||||
*/
|
||||
typedef WriteState::type WriteState_t;
|
||||
/**
|
||||
* Specifies how to treat the time value when converting between string and System::DateTime.
|
||||
*/
|
||||
typedef XmlDateTimeSerializationMode::type XmlDateTimeSerializationMode_t;
|
||||
/**
|
||||
* Defines the namespace scope.
|
||||
*/
|
||||
typedef XmlNamespaceScope::type XmlNamespaceScope_t;
|
||||
/**
|
||||
* Specifies the type of node change.
|
||||
*/
|
||||
typedef XmlNodeChangedAction::type XmlNodeChangedAction_t;
|
||||
/**
|
||||
* Describes the document order of a node compared to a second node.
|
||||
*/
|
||||
typedef XmlNodeOrder::type XmlNodeOrder_t;
|
||||
/**
|
||||
* Specifies the type of node.
|
||||
*/
|
||||
typedef XmlNodeType::type XmlNodeType_t;
|
||||
/**
|
||||
* Specifies the method used to serialize the System::Xml::XmlWriter output.
|
||||
*/
|
||||
typedef XmlOutputMethod::type XmlOutputMethod_t;
|
||||
/**
|
||||
* Specifies the current xml:space scope.
|
||||
*/
|
||||
typedef XmlSpace::type XmlSpace_t;
|
||||
/**
|
||||
* Represents the XML type for the string. This allows the string to be read as a particular XML type, for example
|
||||
* a CDATA section type.
|
||||
*/
|
||||
typedef XmlTokenizedType::type XmlTokenizedType_t;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
/*****************************************************************************
|
||||
* Enums.h *
|
||||
* *
|
||||
* System::Xml Interfaces definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_XML_INTERFACES_
|
||||
#define _SYSTEM_XML_INTERFACES_
|
||||
|
||||
@ -13,7 +19,9 @@ namespace System
|
||||
{
|
||||
class XmlNode;
|
||||
|
||||
// Enables a class to return an System::Xml::XmlNode from the current context or position.
|
||||
/**
|
||||
* Enables a class to return an System::Xml::XmlNode from the current context or position.
|
||||
*/
|
||||
interface IHasXmlNode
|
||||
{
|
||||
public:
|
||||
@ -22,7 +30,9 @@ namespace System
|
||||
virtual ~IHasXmlNode() { }
|
||||
};
|
||||
|
||||
// Provides an interface to enable a class to return line and position information.
|
||||
/**
|
||||
* Provides an interface to enable a class to return line and position information.
|
||||
*/
|
||||
interface IXmlLineInfo
|
||||
{
|
||||
public:
|
||||
@ -34,7 +44,9 @@ namespace System
|
||||
virtual ~IXmlLineInfo() { }
|
||||
};
|
||||
|
||||
// Provides read-only access to a set of prefix and namespace mappings.
|
||||
/**
|
||||
* Provides read-only access to a set of prefix and namespace mappings.
|
||||
*/
|
||||
interface IXmlNamespaceResolver
|
||||
{
|
||||
public:
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*****************************************************************************
|
||||
* Enums.h *
|
||||
* Enums.h *
|
||||
* *
|
||||
* System::Xml::Schema Enumerations definition file. *
|
||||
* System::Xml::Schema Enumerations definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_XML_SCHEMA_ENUMS_H
|
||||
@ -17,13 +17,21 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Document items are not validated.
|
||||
/**
|
||||
* Document items are not validated.
|
||||
*/
|
||||
None,
|
||||
// Document items must consist of well-formed XML and are not validated by the schema.
|
||||
/**
|
||||
* Document items must consist of well-formed XML and are not validated by the schema.
|
||||
*/
|
||||
Skip,
|
||||
// If the associated schema is found, the document items will be validated. No errors will be thrown otherwise.
|
||||
/**
|
||||
* If the associated schema is found, the document items will be validated. No errors will be thrown otherwise.
|
||||
*/
|
||||
Lax,
|
||||
// The schema processor must find a schema associated with the indicated namespace to validate the document items.
|
||||
/**
|
||||
* The schema processor must find a schema associated with the indicated namespace to validate the document items.
|
||||
*/
|
||||
Strict
|
||||
};
|
||||
};
|
||||
@ -32,13 +40,21 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Text-only content.
|
||||
/**
|
||||
* Text-only content.
|
||||
*/
|
||||
TextOnly,
|
||||
// Empty content.
|
||||
/**
|
||||
* Empty content.
|
||||
*/
|
||||
Empty,
|
||||
// Element-only content.
|
||||
/**
|
||||
* Element-only content.
|
||||
*/
|
||||
ElementOnly,
|
||||
// Mixed content.
|
||||
/**
|
||||
* Mixed content.
|
||||
*/
|
||||
Mixed
|
||||
};
|
||||
};
|
||||
@ -47,11 +63,17 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// A W3C XML schema atomic type.
|
||||
/**
|
||||
* A W3C XML schema atomic type.
|
||||
*/
|
||||
Atomic,
|
||||
// A W3C XML schema list type.
|
||||
/**
|
||||
* A W3C XML schema list type.
|
||||
*/
|
||||
List,
|
||||
// A W3C XML schema union type.
|
||||
/**
|
||||
* A W3C XML schema union type.
|
||||
*/
|
||||
Union
|
||||
};
|
||||
};
|
||||
@ -60,21 +82,37 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// #all. Refers to all derivation methods.
|
||||
/**
|
||||
* #all. Refers to all derivation methods.
|
||||
*/
|
||||
All = 255,
|
||||
// Override default derivation method to allow any derivation.
|
||||
/**
|
||||
* Override default derivation method to allow any derivation.
|
||||
*/
|
||||
Empty = 0,
|
||||
// Refers to derivations by Extension.
|
||||
/**
|
||||
* Refers to derivations by Extension.
|
||||
*/
|
||||
Extension = 2,
|
||||
// Refers to derivations by List.
|
||||
/**
|
||||
* Refers to derivations by List.
|
||||
*/
|
||||
List = 8,
|
||||
// Accepts the default derivation method.
|
||||
/**
|
||||
* Accepts the default derivation method.
|
||||
*/
|
||||
None = 256,
|
||||
// Refers to derivations by Restriction.
|
||||
/**
|
||||
* Refers to derivations by Restriction.
|
||||
*/
|
||||
Restriction = 4,
|
||||
// Refers to derivations by Substitution.
|
||||
/**
|
||||
* Refers to derivations by Substitution.
|
||||
*/
|
||||
Substitution = 1,
|
||||
// Refers to derivations by Union.
|
||||
/**
|
||||
* Refers to derivations by Union.
|
||||
*/
|
||||
Union = 16
|
||||
};
|
||||
};
|
||||
@ -83,11 +121,17 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Element and attribute form is not specified in the schema.
|
||||
/**
|
||||
* Element and attribute form is not specified in the schema.
|
||||
*/
|
||||
None,
|
||||
// Elements and attributes must be qualified with a namespace prefix.
|
||||
/**
|
||||
* Elements and attributes must be qualified with a namespace prefix.
|
||||
*/
|
||||
Qualified,
|
||||
// Elements and attributes are not required to be qualified with a namespace prefix.
|
||||
/**
|
||||
* Elements and attributes are not required to be qualified with a namespace prefix.
|
||||
*/
|
||||
Unqualified
|
||||
};
|
||||
};
|
||||
@ -96,13 +140,21 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Attribute use not specified.
|
||||
/**
|
||||
* Attribute use not specified.
|
||||
*/
|
||||
None,
|
||||
// Attribute is optional.
|
||||
/**
|
||||
* Attribute is optional.
|
||||
*/
|
||||
Optional,
|
||||
// Attribute cannot be used.
|
||||
/**
|
||||
* Attribute cannot be used.
|
||||
*/
|
||||
Prohibited,
|
||||
// Attribute must appear once.
|
||||
/**
|
||||
* Attribute must appear once.
|
||||
*/
|
||||
Required
|
||||
};
|
||||
};
|
||||
@ -111,17 +163,29 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Allow xml:* attributes even if they are not defined in the schema. The attributes will be validated based on their data type.
|
||||
/**
|
||||
* Allow xml:* attributes even if they are not defined in the schema. The attributes will be validated based on their data type.
|
||||
*/
|
||||
AllowXmlAttributes = 16,
|
||||
// Do not process identity constraints, inline schemas, schema location hints, or report schema validation warnings.
|
||||
/**
|
||||
* Do not process identity constraints, inline schemas, schema location hints, or report schema validation warnings.
|
||||
*/
|
||||
None = 0,
|
||||
// Process identity constraints (xs:ID, xs:IDREF, xs:key, xs:keyref, xs:unique) encountered during validation.
|
||||
/**
|
||||
* Process identity constraints (xs:ID, xs:IDREF, xs:key, xs:keyref, xs:unique) encountered during validation.
|
||||
*/
|
||||
ProcessIdentityConstraints = 8,
|
||||
// Process inline schemas encountered during validation.
|
||||
/**
|
||||
* Process inline schemas encountered during validation.
|
||||
*/
|
||||
ProcessInlineSchema = 1,
|
||||
// Process schema location hints (xsi:schemaLocation, xsi:noNamespaceSchemaLocation) encountered during validation.
|
||||
/**
|
||||
* Process schema location hints (xsi:schemaLocation, xsi:noNamespaceSchemaLocation) encountered during validation.
|
||||
*/
|
||||
ProcessSchemaLocation = 2,
|
||||
// Report schema validation warnings encountered during validation.
|
||||
/**
|
||||
* Report schema validation warnings encountered during validation.
|
||||
*/
|
||||
ReportValidationWarnings = 4
|
||||
};
|
||||
};
|
||||
@ -130,11 +194,17 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// The validity of the XML item is not known.
|
||||
/**
|
||||
* The validity of the XML item is not known.
|
||||
*/
|
||||
NotKnown,
|
||||
// The XML item is valid.
|
||||
/**
|
||||
* The XML item is valid.
|
||||
*/
|
||||
Valid,
|
||||
// The XML item is invalid.
|
||||
/**
|
||||
* The XML item is invalid.
|
||||
*/
|
||||
Invalid
|
||||
};
|
||||
};
|
||||
@ -143,9 +213,13 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Indicates a validation error occurred when validating the instance document. This applies to document type definitions (DTDs) and XML Schema definition language (XSD) schemas. The World Wide Web Consortium (W3C) validity constraints are considered errors. If no validation event handler has been created, errors throw an exception.
|
||||
/**
|
||||
* Indicates a validation error occurred when validating the instance document. This applies to document type definitions (DTDs) and XML Schema definition language (XSD) schemas. The World Wide Web Consortium (W3C) validity constraints are considered errors. If no validation event handler has been created, errors throw an exception.
|
||||
*/
|
||||
Error,
|
||||
// Indicates that a validation event occurred that is not an error. A warning is typically issued when there is no DTD, or XML Schema to validate a particular element or attribute against. Unlike errors, warnings do not throw an exception if there is no validation event handler.
|
||||
/**
|
||||
* Indicates that a validation event occurred that is not an error. A warning is typically issued when there is no DTD, or XML Schema to validate a particular element or attribute against. Unlike errors, warnings do not throw an exception if there is no validation event handler.
|
||||
*/
|
||||
Warning
|
||||
};
|
||||
};
|
||||
@ -154,138 +228,268 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Any atomic value of a union.
|
||||
/**
|
||||
* Any atomic value of a union.
|
||||
*/
|
||||
AnyAtomicType = 10,
|
||||
// A W3C XML Schema xs:anyURI type.
|
||||
/**
|
||||
* A W3C XML Schema xs:anyURI type.
|
||||
*/
|
||||
AnyUri = 28,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
Attribute = 5,
|
||||
// A W3C XML Schema xs:base64Binary type.
|
||||
/**
|
||||
* A W3C XML Schema xs:base64Binary type.
|
||||
*/
|
||||
Base64Binary = 27,
|
||||
// A W3C XML Schema xs:boolean type.
|
||||
/**
|
||||
* A W3C XML Schema xs:boolean type.
|
||||
*/
|
||||
Boolean = 13,
|
||||
// A W3C XML Schema xs:byte type.
|
||||
/**
|
||||
* A W3C XML Schema xs:byte type.
|
||||
*/
|
||||
Byte = 46,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
Comment = 8,
|
||||
// A W3C XML Schema xs:date type.
|
||||
/**
|
||||
* A W3C XML Schema xs:date type.
|
||||
*/
|
||||
Date = 20,
|
||||
// A W3C XML Schema xs:dateTime type.
|
||||
/**
|
||||
* A W3C XML Schema xs:dateTime type.
|
||||
*/
|
||||
DateTime = 18,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
DayTimeDuration = 54,
|
||||
// A W3C XML Schema xs:decimal type.
|
||||
/**
|
||||
* A W3C XML Schema xs:decimal type.
|
||||
*/
|
||||
Decimal = 14,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
Document = 3,
|
||||
// A W3C XML Schema xs:double type.
|
||||
/**
|
||||
* A W3C XML Schema xs:double type.
|
||||
*/
|
||||
Double = 16,
|
||||
// A W3C XML Schema xs:Duration type.
|
||||
/**
|
||||
* A W3C XML Schema xs:Duration type.
|
||||
*/
|
||||
Duration = 17,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
Element = 4,
|
||||
// A W3C XML Schema xs:ENTITY type.
|
||||
/**
|
||||
* A W3C XML Schema xs:ENTITY type.
|
||||
*/
|
||||
Entity = 39,
|
||||
// A W3C XML Schema xs:float type.
|
||||
/**
|
||||
* A W3C XML Schema xs:float type.
|
||||
*/
|
||||
Float = 15,
|
||||
// A W3C XML Schema xs:gDay type.
|
||||
/**
|
||||
* A W3C XML Schema xs:gDay type.
|
||||
*/
|
||||
GDay = 24,
|
||||
// A W3C XML Schema xs:gMonth type.
|
||||
/**
|
||||
* A W3C XML Schema xs:gMonth type.
|
||||
*/
|
||||
GMonth = 25,
|
||||
// A W3C XML Schema xs:gMonthDay type.
|
||||
/**
|
||||
* A W3C XML Schema xs:gMonthDay type.
|
||||
*/
|
||||
GMonthDay = 23,
|
||||
// A W3C XML Schema xs:gYear type.
|
||||
/**
|
||||
* A W3C XML Schema xs:gYear type.
|
||||
*/
|
||||
GYear = 22,
|
||||
// A W3C XML Schema xs:gYearMonth type.
|
||||
/**
|
||||
* A W3C XML Schema xs:gYearMonth type.
|
||||
*/
|
||||
GYearMonth = 21,
|
||||
// A W3C XML Schema xs:hexBinary type.
|
||||
/**
|
||||
* A W3C XML Schema xs:hexBinary type.
|
||||
*/
|
||||
HexBinary = 26,
|
||||
// A W3C XML Schema xs:ID type.
|
||||
/**
|
||||
* A W3C XML Schema xs:ID type.
|
||||
*/
|
||||
Id = 37,
|
||||
// A W3C XML Schema xs:IDREF type.
|
||||
/**
|
||||
* A W3C XML Schema xs:IDREF type.
|
||||
*/
|
||||
Idref = 38,
|
||||
// A W3C XML Schema xs:int type.
|
||||
/**
|
||||
* A W3C XML Schema xs:int type.
|
||||
*/
|
||||
Int = 44,
|
||||
// A W3C XML Schema xs:integer type.
|
||||
/**
|
||||
* A W3C XML Schema xs:integer type.
|
||||
*/
|
||||
Integer = 40,
|
||||
// An item such as a node or atomic value.
|
||||
/**
|
||||
* An item such as a node or atomic value.
|
||||
*/
|
||||
Item = 1,
|
||||
// A W3C XML Schema xs:language type.
|
||||
/**
|
||||
* A W3C XML Schema xs:language type.
|
||||
*/
|
||||
Language = 33,
|
||||
// A W3C XML Schema xs:long type.
|
||||
/**
|
||||
* A W3C XML Schema xs:long type.
|
||||
*/
|
||||
Long = 43,
|
||||
// A W3C XML Schema xs:Name type.
|
||||
/**
|
||||
* A W3C XML Schema xs:Name type.
|
||||
*/
|
||||
Name = 35,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
Namespace = 6,
|
||||
// A W3C XML Schema xs:NCName type.
|
||||
/**
|
||||
* A W3C XML Schema xs:NCName type.
|
||||
*/
|
||||
NCName = 36,
|
||||
// A W3C XML Schema xs:negativeInteger type.
|
||||
/**
|
||||
* A W3C XML Schema xs:negativeInteger type.
|
||||
*/
|
||||
NegativeInteger = 42,
|
||||
// A W3C XML Schema xs:NMTOKEN type.
|
||||
/**
|
||||
* A W3C XML Schema xs:NMTOKEN type.
|
||||
*/
|
||||
NmToken = 34,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
Node = 2,
|
||||
// No type information.
|
||||
/**
|
||||
* No type information.
|
||||
*/
|
||||
None = 0,
|
||||
// A W3C XML Schema xs:nonNegativeInteger type.
|
||||
/**
|
||||
* A W3C XML Schema xs:nonNegativeInteger type.
|
||||
*/
|
||||
NonNegativeInteger = 47,
|
||||
// A W3C XML Schema xs:nonPositiveInteger type.
|
||||
/**
|
||||
* A W3C XML Schema xs:nonPositiveInteger type.
|
||||
*/
|
||||
NonPositiveInteger = 41,
|
||||
// A W3C XML Schema xs:normalizedString type.
|
||||
/**
|
||||
* A W3C XML Schema xs:normalizedString type.
|
||||
*/
|
||||
NormalizedString = 31,
|
||||
// A W3C XML Schema xs:NOTATION type.
|
||||
/**
|
||||
* A W3C XML Schema xs:NOTATION type.
|
||||
*/
|
||||
Notation = 30,
|
||||
// A W3C XML Schema xs:positiveInteger type.
|
||||
/**
|
||||
* A W3C XML Schema xs:positiveInteger type.
|
||||
*/
|
||||
PositiveInteger = 52,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
ProcessingInstruction = 7,
|
||||
// A W3C XML Schema xs:QName type.
|
||||
/**
|
||||
* A W3C XML Schema xs:QName type.
|
||||
*/
|
||||
QName = 29,
|
||||
// A W3C XML Schema xs:short type.
|
||||
/**
|
||||
* A W3C XML Schema xs:short type.
|
||||
*/
|
||||
Short = 45,
|
||||
// A W3C XML Schema xs:string type.
|
||||
/**
|
||||
* A W3C XML Schema xs:string type.
|
||||
*/
|
||||
String = 12,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
Text = 9,
|
||||
// A W3C XML Schema xs:time type.
|
||||
/**
|
||||
* A W3C XML Schema xs:time type.
|
||||
*/
|
||||
Time = 19,
|
||||
// A W3C XML Schema xs:token type.
|
||||
/**
|
||||
* A W3C XML Schema xs:token type.
|
||||
*/
|
||||
Token = 32,
|
||||
// A W3C XML Schema xs:unsignedByte type.
|
||||
/**
|
||||
* A W3C XML Schema xs:unsignedByte type.
|
||||
*/
|
||||
UnsignedByte = 51,
|
||||
// A W3C XML Schema xs:unsignedInt type.
|
||||
/**
|
||||
* A W3C XML Schema xs:unsignedInt type.
|
||||
*/
|
||||
UnsignedInt = 49,
|
||||
// A W3C XML Schema xs:unsignedLong type.
|
||||
/**
|
||||
* A W3C XML Schema xs:unsignedLong type.
|
||||
*/
|
||||
UnsignedLong = 48,
|
||||
// A W3C XML Schema xs:unsignedShort type.
|
||||
/**
|
||||
* A W3C XML Schema xs:unsignedShort type.
|
||||
*/
|
||||
UnsignedShort = 50,
|
||||
// An untyped atomic value.
|
||||
/**
|
||||
* An untyped atomic value.
|
||||
*/
|
||||
UntypedAtomic = 11,
|
||||
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
/**
|
||||
* This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
|
||||
*/
|
||||
YearMonthDuration = 53
|
||||
};
|
||||
};
|
||||
|
||||
// Provides information about the validation mode of any and anyAttribute element replacements.
|
||||
/**
|
||||
* Provides information about the validation mode of any and anyAttribute element replacements.
|
||||
*/
|
||||
typedef XmlSchemaContentProcessing::type XmlSchemaContentProcessing_t;
|
||||
// Enumerations for the content model of the complex type. This represents the content in the post-schema-validation information set (infoset).
|
||||
/**
|
||||
* Enumerations for the content model of the complex type. This represents the content in the post-schema-validation information set (infoset).
|
||||
*/
|
||||
typedef XmlSchemaContentType::type XmlSchemaContentType_t;
|
||||
// Specifies the W3C XML schema data type variety of the type.
|
||||
/**
|
||||
* Specifies the W3C XML schema data type variety of the type.
|
||||
*/
|
||||
typedef XmlSchemaDatatypeVariety::type XmlSchemaDatatypeVariety_t;
|
||||
// Provides different methods for preventing derivation.
|
||||
/**
|
||||
* Provides different methods for preventing derivation.
|
||||
*/
|
||||
typedef XmlSchemaDerivationMethod::type XmlSchemaDerivationMethod_t;
|
||||
// Indicates if attributes or elements need to be qualified with a namespace prefix.
|
||||
/**
|
||||
* Indicates if attributes or elements need to be qualified with a namespace prefix.
|
||||
*/
|
||||
typedef XmlSchemaForm::type XmlSchemaForm_t;
|
||||
// Indicator of how the attribute is used.
|
||||
/**
|
||||
* Indicator of how the attribute is used.
|
||||
*/
|
||||
typedef XmlSchemaUse::type XmlSchemaUse_t;
|
||||
// Specifies schema validation options used by the System::Xml::Schema::XmlSchemaValidator and System::Xml::XmlReader classes.
|
||||
/**
|
||||
* Specifies schema validation options used by the System::Xml::Schema::XmlSchemaValidator and System::Xml::XmlReader classes.
|
||||
*/
|
||||
typedef XmlSchemaValidationFlags::type XmlSchemaValidationFlags_t;
|
||||
// Represents the validity of an XML item validated by the System.Xml.Schema.XmlSchemaValidator class.
|
||||
/**
|
||||
* Represents the validity of an XML item validated by the System.Xml.Schema.XmlSchemaValidator class.
|
||||
*/
|
||||
typedef XmlSchemaValidity::type XmlSchemaValidity_t;
|
||||
// Represents the severity of the validation event.
|
||||
/**
|
||||
* Represents the severity of the validation event.
|
||||
*/
|
||||
typedef XmlSeverityType::type XmlSeverityType_t;
|
||||
// Represents the W3C XML Schema Definition Language (XSD) schema types.
|
||||
/**
|
||||
* Represents the W3C XML Schema Definition Language (XSD) schema types.
|
||||
*/
|
||||
typedef XmlTypeCode::type XmlTypeCode_t;
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ namespace System
|
||||
virtual XmlSchemaType* SchemaType() =0;
|
||||
virtual XmlSchemaValidity_t getValidity() =0;
|
||||
|
||||
~IXmlSchemaInfo() { }
|
||||
virtual ~IXmlSchemaInfo() { }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,11 @@
|
||||
/*****************************************************************************
|
||||
* Enums.h *
|
||||
* *
|
||||
* System::Xml::XPath Enumerations definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_XML_XPATH_ENUMS_
|
||||
#define _SYSTEM_XML_XPATH_ENUMS_
|
||||
|
||||
namespace System
|
||||
{
|
||||
@ -9,11 +17,17 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Ignore the case.
|
||||
/**
|
||||
* Ignore the case.
|
||||
*/
|
||||
None,
|
||||
// Uppercase letters are sorted before lowercase letters.
|
||||
/**
|
||||
* Uppercase letters are sorted before lowercase letters.
|
||||
*/
|
||||
UpperFirst,
|
||||
// Lowercase letters are sorted before uppercase letters.
|
||||
/**
|
||||
* Lowercase letters are sorted before uppercase letters.
|
||||
*/
|
||||
LowerFirst
|
||||
};
|
||||
};
|
||||
@ -22,9 +36,13 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Values are sorted alphabetically.
|
||||
/**
|
||||
* Values are sorted alphabetically.
|
||||
*/
|
||||
Text = 1,
|
||||
// Values are sorted numerically.
|
||||
/**
|
||||
* Values are sorted numerically.
|
||||
*/
|
||||
Number
|
||||
};
|
||||
};
|
||||
@ -33,9 +51,13 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Nodes are sorted in ascending order. For example, if the numbers 1,2,3, and 4 are sorted in ascending order, they appear as 1,2,3,4.
|
||||
/**
|
||||
* Nodes are sorted in ascending order. For example, if the numbers 1,2,3, and 4 are sorted in ascending order, they appear as 1,2,3,4.
|
||||
*/
|
||||
Ascending = 1,
|
||||
// Nodes are sorted in descending order. For example, if the numbers 1,2,3, and 4 are sorted in descending order, they appear as, 4,3,2,1.
|
||||
/**
|
||||
* Nodes are sorted in descending order. For example, if the numbers 1,2,3, and 4 are sorted in descending order, they appear as, 4,3,2,1.
|
||||
*/
|
||||
Descending
|
||||
};
|
||||
};
|
||||
@ -44,11 +66,17 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Returns all namespaces defined in the scope of the current node. This includes the xmlns:xml namespace which is always declared implicitly. The order of the namespaces returned is not defined.
|
||||
/**
|
||||
* Returns all namespaces defined in the scope of the current node. This includes the xmlns:xml namespace which is always declared implicitly. The order of the namespaces returned is not defined.
|
||||
*/
|
||||
All,
|
||||
// Returns all namespaces defined in the scope of the current node, excluding the xmlns:xml namespace. The xmlns:xml namespace is always declared implicitly. The order of the namespaces returned is not defined.
|
||||
/**
|
||||
* Returns all namespaces defined in the scope of the current node, excluding the xmlns:xml namespace. The xmlns:xml namespace is always declared implicitly. The order of the namespaces returned is not defined.
|
||||
*/
|
||||
ExcludeXml,
|
||||
// Returns all namespaces that are defined locally at the current node.
|
||||
/**
|
||||
* Returns all namespaces that are defined locally at the current node.
|
||||
*/
|
||||
Local
|
||||
};
|
||||
};
|
||||
@ -57,25 +85,45 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// The root node of the XML document or node tree.
|
||||
/**
|
||||
* The root node of the XML document or node tree.
|
||||
*/
|
||||
Root,
|
||||
// An element, such as <element>.
|
||||
/**
|
||||
* An element, such as <element>.
|
||||
*/
|
||||
Element,
|
||||
// An attribute, such as id='123'.
|
||||
/**
|
||||
* An attribute, such as id='123'.
|
||||
*/
|
||||
Attribute,
|
||||
// A namespace, such as xmlns="namespace".
|
||||
/**
|
||||
* A namespace, such as xmlns="namespace".
|
||||
*/
|
||||
Namespace,
|
||||
// The text content of a node. Equivalent to the Document Object Model (DOM) Text and CDATA node types. Contains at least one character.
|
||||
/**
|
||||
* The text content of a node. Equivalent to the Document Object Model (DOM) Text and CDATA node types. Contains at least one character.
|
||||
*/
|
||||
Text,
|
||||
// A node with white space characters and xml:space set to preserve.
|
||||
/**
|
||||
* A node with white space characters and xml:space set to preserve.
|
||||
*/
|
||||
SignificantWhitespace,
|
||||
// A node with only white space characters and no significant white space. White space characters are #x20, #x9, #xD, or #xA.
|
||||
/**
|
||||
* A node with only white space characters and no significant white space. White space characters are #x20, #x9, #xD, or #xA.
|
||||
*/
|
||||
Whitespace,
|
||||
// A processing instruction, such as <?pi test?>. This does not include XML declarations, which are not visible to the System::Xml::XPath::XPathNavigator class.
|
||||
/**
|
||||
* A processing instruction, such as <?pi test?>. This does not include XML declarations, which are not visible to the System::Xml::XPath::XPathNavigator class.
|
||||
*/
|
||||
ProcessingInstruction,
|
||||
// A comment, such as <!-- my comment -->
|
||||
/**
|
||||
* A comment, such as <!-- my comment -->
|
||||
*/
|
||||
Comment,
|
||||
// Any of the System::Xml::XPath::XPathNodeType node types.
|
||||
/**
|
||||
* Any of the System::Xml::XPath::XPathNodeType node types.
|
||||
*/
|
||||
All
|
||||
};
|
||||
};
|
||||
@ -84,35 +132,63 @@ namespace System
|
||||
{
|
||||
enum type
|
||||
{
|
||||
// Any of the XPath node types.
|
||||
/**
|
||||
* Any of the XPath node types.
|
||||
*/
|
||||
Any = 5,
|
||||
// A System::Boolean true or false value.
|
||||
/**
|
||||
* A System::Boolean true or false value.
|
||||
*/
|
||||
Boolean = 2,
|
||||
// The expression does not evaluate to the correct XPath type.
|
||||
/**
|
||||
* The expression does not evaluate to the correct XPath type.
|
||||
*/
|
||||
Error = 6,
|
||||
// A tree fragment.
|
||||
/**
|
||||
* A tree fragment.
|
||||
*/
|
||||
Navigator = 1,
|
||||
// A node collection.
|
||||
/**
|
||||
* A node collection.
|
||||
*/
|
||||
NodeSet = 3,
|
||||
// A numeric value.
|
||||
/**
|
||||
* A numeric value.
|
||||
*/
|
||||
Number = 0,
|
||||
// A System::String value.
|
||||
/**
|
||||
* A System::String value.
|
||||
*/
|
||||
String = 4,
|
||||
};
|
||||
};
|
||||
|
||||
// Specifies the sort order for uppercase and lowercase letters.
|
||||
/**
|
||||
* Specifies the sort order for uppercase and lowercase letters.
|
||||
*/
|
||||
typedef XmlCaseOrder::type XmlCaseOrder_t;
|
||||
// Specifies the data type used to determine sort order.
|
||||
/**
|
||||
* Specifies the data type used to determine sort order.
|
||||
*/
|
||||
typedef XmlDataType::type XmlDataType_t;
|
||||
// Specifies the sort order.
|
||||
/**
|
||||
* Specifies the sort order.
|
||||
*/
|
||||
typedef XmlSortOrder::type XmlSortOrder_t;
|
||||
// Defines the namespace scope.
|
||||
/**
|
||||
* Defines the namespace scope.
|
||||
*/
|
||||
typedef XPathNamespaceScope::type XPathNamespaceScope_t;
|
||||
// Defines the XPath node types that can be returned from the System::Xml::XPath::XPathNavigator class.
|
||||
/**
|
||||
* Defines the XPath node types that can be returned from the System::Xml::XPath::XPathNavigator class.
|
||||
*/
|
||||
typedef XPathNodeType::type XPathNodeType_t;
|
||||
// Specifies the return type of the XPath expression.
|
||||
/**
|
||||
* Specifies the return type of the XPath expression.
|
||||
*/
|
||||
typedef XPathResultType::type XPathResultType_t;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif //_SYSTEM_XML_XPATH_ENUMS_
|
||||
|
@ -1,3 +1,11 @@
|
||||
/*****************************************************************************
|
||||
* Enums.h *
|
||||
* *
|
||||
* System::Xml::XPath Interfaces definition file. *
|
||||
* Copyright (c) XFX Team. All rights reserved. *
|
||||
*****************************************************************************/
|
||||
#ifndef _SYSTEM_XML_XPATH_XPATHNAVIGATOR_
|
||||
#define _SYSTEM_XML_XPATH_XPATHNAVIGATOR_
|
||||
|
||||
#include <System/Types.h>
|
||||
|
||||
@ -9,11 +17,15 @@ namespace System
|
||||
{
|
||||
class XPathNavigator;
|
||||
|
||||
// Provides an accessor to the System::Xml::XPath::XPathNavigator class.
|
||||
/**
|
||||
* Provides an accessor to the System::Xml::XPath::XPathNavigator class.
|
||||
*/
|
||||
interface IXPathNavigable
|
||||
{
|
||||
public:
|
||||
// Returns a new System.Xml.XPath.XPathNavigator object.
|
||||
/**
|
||||
* Returns a new System.Xml.XPath.XPathNavigator object.
|
||||
*/
|
||||
virtual XPathNavigator* CreateNavigator();
|
||||
|
||||
virtual ~IXPathNavigable() { }
|
||||
@ -21,3 +33,5 @@ namespace System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif //_SYSTEM_XML_XPATH_XPATHNAVIGATOR_
|
||||
|
@ -26,11 +26,14 @@
|
||||
// POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <System/ComponentModel/CancelEventArgs.h>
|
||||
#include <System/Type.h>
|
||||
|
||||
namespace System
|
||||
{
|
||||
namespace ComponentModel
|
||||
{
|
||||
const Type CancelEventArgsTypeInfo("CancelEventArgs", "System::ComponentModel::CancelEventArgs", TypeCode::Object);
|
||||
|
||||
CancelEventArgs::CancelEventArgs()
|
||||
: Cancel(false)
|
||||
{
|
||||
@ -41,8 +44,9 @@ namespace System
|
||||
{
|
||||
}
|
||||
|
||||
int CancelEventArgs::GetType()
|
||||
const Type& CancelEventArgs::GetType()
|
||||
{
|
||||
return CancelEventArgsTypeInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,34 @@
|
||||
// Copyright (C) XFX Team
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are met:
|
||||
//
|
||||
//* Redistributions of source code must retain the above copyright
|
||||
//notice, this list of conditions and the following disclaimer.
|
||||
//* Redistributions in binary form must reproduce the above copyright
|
||||
//notice, this list of conditions and the following disclaimer in the
|
||||
//documentation and/or other materials provided with the distribution.
|
||||
//* Neither the name of the copyright holder nor the names of any
|
||||
//contributors may be used to endorse or promote products derived from
|
||||
//this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
// POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <System/Net/Sockets/Socket.h>
|
||||
#include <System/Net/Sockets/SocketAsyncEventArgs.h>
|
||||
#include <System/Threading.h>
|
||||
#include <System/Type.h>
|
||||
|
||||
using namespace System::Threading;
|
||||
|
||||
@ -10,6 +38,8 @@ namespace System
|
||||
{
|
||||
namespace Sockets
|
||||
{
|
||||
const Type SocketTypeInfo("Socket","System::Net::Sockets", TypeCode::Object);
|
||||
|
||||
AddressFamily_t Socket::getAddressFamily()
|
||||
{
|
||||
return addressFamily;
|
||||
@ -21,37 +51,49 @@ namespace System
|
||||
}
|
||||
|
||||
Socket::Socket(AddressFamily_t addressFamily, SocketType_t socketType, ProtocolType_t protocolType)
|
||||
: addressFamily(addressFamily)
|
||||
{
|
||||
this->addressFamily = addressFamily;
|
||||
|
||||
// TODO: implement remainder
|
||||
}
|
||||
|
||||
bool Socket::ConnectAsync(SocketType_t socketType, ProtocolType_t protocolType, SocketAsyncEventArgs e)
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
bool Socket::ConnectAsync(SocketAsyncEventArgs e)
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
void Socket::Close()
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
void Socket::Close(int timeOut)
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
void Socket::Dispose()
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
void Socket::EndConnect(IAsyncResult* asyncResult)
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
void Socket::EndDisconnect(IAsyncResult* asyncResult)
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
const Type& Socket::GetType()
|
||||
{
|
||||
return SocketTypeInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,40 @@
|
||||
// Copyright (C) XFX Team
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are met:
|
||||
//
|
||||
//* Redistributions of source code must retain the above copyright
|
||||
//notice, this list of conditions and the following disclaimer.
|
||||
//* Redistributions in binary form must reproduce the above copyright
|
||||
//notice, this list of conditions and the following disclaimer in the
|
||||
//documentation and/or other materials provided with the distribution.
|
||||
//* Neither the name of the copyright holder nor the names of any
|
||||
//contributors may be used to endorse or promote products derived from
|
||||
//this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
// POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <System/Net/SocketAddress.h>
|
||||
#include <System/String.h>
|
||||
#include <System/Type.h>
|
||||
|
||||
namespace System
|
||||
{
|
||||
namespace Net
|
||||
{
|
||||
const Type SocketAddressTypeInfo("SocketAddress", "System::Net::SocketAddress", TypeCode::Object);
|
||||
|
||||
AddressFamily_t SocketAddress::getFamily()
|
||||
{
|
||||
return addressFamily;
|
||||
@ -15,15 +46,30 @@ namespace System
|
||||
}
|
||||
|
||||
SocketAddress::SocketAddress(AddressFamily_t family)
|
||||
: addressFamily(family)
|
||||
{
|
||||
addressFamily = family;
|
||||
|
||||
// TODO: implement remainder
|
||||
}
|
||||
|
||||
SocketAddress::SocketAddress(AddressFamily_t family, int size)
|
||||
: addressFamily(family), bufferSize(size)
|
||||
{
|
||||
addressFamily = family;
|
||||
bufferSize = size;
|
||||
// TODO: implement remainder
|
||||
}
|
||||
|
||||
const Type& SocketAddress::GetType()
|
||||
{
|
||||
return SocketAddressTypeInfo;
|
||||
}
|
||||
|
||||
const String SocketAddress::ToString()
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
byte SocketAddress::operator[](int offset)
|
||||
{
|
||||
// TODO: implement
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,32 @@
|
||||
// Copyright (C) XFX Team
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are met:
|
||||
//
|
||||
//* Redistributions of source code must retain the above copyright
|
||||
//notice, this list of conditions and the following disclaimer.
|
||||
//* Redistributions in binary form must reproduce the above copyright
|
||||
//notice, this list of conditions and the following disclaimer in the
|
||||
//documentation and/or other materials provided with the distribution.
|
||||
//* Neither the name of the copyright holder nor the names of any
|
||||
//contributors may be used to endorse or promote products derived from
|
||||
//this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
// POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <System/Net/Sockets/SocketAsyncEventArgs.h>
|
||||
#include <System/Type.h>
|
||||
|
||||
namespace System
|
||||
{
|
||||
@ -6,12 +34,21 @@ namespace System
|
||||
{
|
||||
namespace Sockets
|
||||
{
|
||||
const Type SocketAsyncEventArgsTypeInfo("SocketAsyncEventArgs", "SYstem::Net::Sockets::SocketAsyncEventArgs", TypeCode::Object);
|
||||
|
||||
SocketAsyncEventArgs::SocketAsyncEventArgs()
|
||||
{
|
||||
// TODO; implement
|
||||
}
|
||||
|
||||
void SocketAsyncEventArgs::Dispose()
|
||||
{
|
||||
// TODO; implement
|
||||
}
|
||||
|
||||
const Type& SocketAsyncEventArgs::GetType()
|
||||
{
|
||||
return SocketAsyncEventArgsTypeInfo;
|
||||
}
|
||||
|
||||
void SocketAsyncEventArgs::Oncompleted(SocketAsyncEventArgs* e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user