pub struct CapeReport {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeReport,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeReportImplementations§
Source§impl CapeReport
impl CapeReport
pub fn get_report_names<TypeOfNames: CapeArrayStringProviderOut>( &self, names: &mut TypeOfNames, ) -> Result<(), COBIAError>
pub fn report_types<TypeOfName: CapeStringProviderIn, TypeOfTypes: CapeArrayStringProviderOut>( &self, name: &TypeOfName, types: &mut TypeOfTypes, ) -> Result<(), COBIAError>
pub fn report_locales<TypeOfName: CapeStringProviderIn, TypeOfType: CapeStringProviderIn, TypeOfLocales: CapeArrayStringProviderOut>( &self, name: &TypeOfName, _type: &TypeOfType, locales: &mut TypeOfLocales, ) -> Result<(), COBIAError>
pub fn check_report_spec<TypeOfName: CapeStringProviderIn, TypeOfType: CapeStringProviderIn, TypeOfLocale: CapeStringProviderIn>( &self, name: &TypeOfName, _type: &TypeOfType, locale: &TypeOfLocale, ) -> Result<CapeBoolean, COBIAError>
pub fn generate_report<TypeOfName: CapeStringProviderIn, TypeOfType: CapeStringProviderIn, TypeOfLocale: CapeStringProviderIn, TypeOfReportContent: CapeStringProviderOut>( &self, name: &TypeOfName, _type: &TypeOfType, locale: &TypeOfLocale, report_content: &mut TypeOfReportContent, ) -> Result<(), COBIAError>
pub fn generate_report_file<TypeOfName: CapeStringProviderIn, TypeOfType: CapeStringProviderIn, TypeOfLocale: CapeStringProviderIn, TypeOfFileName: CapeStringProviderIn>( &self, name: &TypeOfName, _type: &TypeOfType, locale: &TypeOfLocale, file_name: &TypeOfFileName, ) -> Result<(), COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeReport
impl CapeSmartPointer for CapeReport
type Interface = _CAPEOPEN_1_2_ICapeReport
Source§fn as_cape_interface_pointer(&self) -> *mut ICapeInterface
fn as_cape_interface_pointer(&self) -> *mut ICapeInterface
Get the ICapeInterface Read more
Source§fn get_interface_id() -> &'static CapeUUID
fn get_interface_id() -> &'static CapeUUID
Get the interface ID Read more
Source§fn from_object<T: CapeSmartPointer>(
smart_pointer: &T,
) -> Result<Self, COBIAError>
fn from_object<T: CapeSmartPointer>( smart_pointer: &T, ) -> Result<Self, COBIAError>
Get an interface wrapper instance from another object Read more
Source§fn from_interface_pointer(interface: *mut Self::Interface) -> Self
fn from_interface_pointer(interface: *mut Self::Interface) -> Self
Get an interface wrapper instance from an interface pointer of the wrapped type Read more
Source§fn attach(interface: *mut Self::Interface) -> Self
fn attach(interface: *mut Self::Interface) -> Self
Get an interface wrapper instance from an interface pointer of the wrapped type, without adding a reference Read more
Source§fn detach(self) -> *mut Self::Interface
fn detach(self) -> *mut Self::Interface
Return an interface pointer and release ownership, without decreasing a reference Read more
Source§fn from_cape_interface_pointer(
interface: *mut ICapeInterface,
) -> Result<Self, COBIAError>
fn from_cape_interface_pointer( interface: *mut ICapeInterface, ) -> Result<Self, COBIAError>
Get an interface wrapper instance from any interface pointer Read more
Source§impl Clone for CapeReport
impl Clone for CapeReport
Auto Trait Implementations§
impl Freeze for CapeReport
impl RefUnwindSafe for CapeReport
impl !Send for CapeReport
impl !Sync for CapeReport
impl Unpin for CapeReport
impl UnwindSafe for CapeReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more