pub trait IXmlReader_Impl: Sized {
Show 23 methods
// Required methods
fn SetInput(&self, pinput: Option<&IUnknown>) -> Result<()>;
fn GetProperty(&self, nproperty: u32) -> Result<isize>;
fn SetProperty(&self, nproperty: u32, pvalue: isize) -> Result<()>;
fn Read(&self, pnodetype: *mut XmlNodeType) -> HRESULT;
fn GetNodeType(&self) -> Result<XmlNodeType>;
fn MoveToFirstAttribute(&self) -> HRESULT;
fn MoveToNextAttribute(&self) -> HRESULT;
fn MoveToAttributeByName(
&self,
pwszlocalname: &PCWSTR,
pwsznamespaceuri: &PCWSTR
) -> HRESULT;
fn MoveToElement(&self) -> Result<()>;
fn GetQualifiedName(
&self,
ppwszqualifiedname: *mut PCWSTR,
pcwchqualifiedname: *mut u32
) -> Result<()>;
fn GetNamespaceUri(
&self,
ppwsznamespaceuri: *mut PCWSTR,
pcwchnamespaceuri: *mut u32
) -> Result<()>;
fn GetLocalName(
&self,
ppwszlocalname: *mut PCWSTR,
pcwchlocalname: *mut u32
) -> Result<()>;
fn GetPrefix(
&self,
ppwszprefix: *mut PCWSTR,
pcwchprefix: *mut u32
) -> Result<()>;
fn GetValue(
&self,
ppwszvalue: *mut PCWSTR,
pcwchvalue: *mut u32
) -> Result<()>;
fn ReadValueChunk(
&self,
pwchbuffer: PWSTR,
cwchchunksize: u32,
pcwchread: *mut u32
) -> HRESULT;
fn GetBaseUri(
&self,
ppwszbaseuri: *mut PCWSTR,
pcwchbaseuri: *mut u32
) -> Result<()>;
fn IsDefault(&self) -> BOOL;
fn IsEmptyElement(&self) -> BOOL;
fn GetLineNumber(&self) -> Result<u32>;
fn GetLinePosition(&self) -> Result<u32>;
fn GetAttributeCount(&self) -> Result<u32>;
fn GetDepth(&self) -> Result<u32>;
fn IsEOF(&self) -> BOOL;
}
Required Methods§
fn SetInput(&self, pinput: Option<&IUnknown>) -> Result<()>
fn GetProperty(&self, nproperty: u32) -> Result<isize>
fn SetProperty(&self, nproperty: u32, pvalue: isize) -> Result<()>
fn Read(&self, pnodetype: *mut XmlNodeType) -> HRESULT
fn GetNodeType(&self) -> Result<XmlNodeType>
fn MoveToFirstAttribute(&self) -> HRESULT
fn MoveToNextAttribute(&self) -> HRESULT
fn MoveToAttributeByName( &self, pwszlocalname: &PCWSTR, pwsznamespaceuri: &PCWSTR ) -> HRESULT
fn MoveToElement(&self) -> Result<()>
fn GetQualifiedName( &self, ppwszqualifiedname: *mut PCWSTR, pcwchqualifiedname: *mut u32 ) -> Result<()>
fn GetNamespaceUri( &self, ppwsznamespaceuri: *mut PCWSTR, pcwchnamespaceuri: *mut u32 ) -> Result<()>
fn GetLocalName( &self, ppwszlocalname: *mut PCWSTR, pcwchlocalname: *mut u32 ) -> Result<()>
fn GetPrefix( &self, ppwszprefix: *mut PCWSTR, pcwchprefix: *mut u32 ) -> Result<()>
fn GetValue(&self, ppwszvalue: *mut PCWSTR, pcwchvalue: *mut u32) -> Result<()>
fn ReadValueChunk( &self, pwchbuffer: PWSTR, cwchchunksize: u32, pcwchread: *mut u32 ) -> HRESULT
fn GetBaseUri( &self, ppwszbaseuri: *mut PCWSTR, pcwchbaseuri: *mut u32 ) -> Result<()>
fn IsDefault(&self) -> BOOL
fn IsEmptyElement(&self) -> BOOL
fn GetLineNumber(&self) -> Result<u32>
fn GetLinePosition(&self) -> Result<u32>
fn GetAttributeCount(&self) -> Result<u32>
fn GetDepth(&self) -> Result<u32>
fn IsEOF(&self) -> BOOL
Object Safety§
This trait is not object safe.