pub struct EcucParamConfContainerDef(/* private fields */);
Expand description
The EcucParamConfContainerDef
is used to define configuration containers
Implementations§
Source§impl EcucParamConfContainerDef
impl EcucParamConfContainerDef
Sourcepub fn create_choice_container_def(
&self,
name: &str,
) -> Result<EcucChoiceContainerDef, AutosarAbstractionError>
pub fn create_choice_container_def( &self, name: &str, ) -> Result<EcucChoiceContainerDef, AutosarAbstractionError>
create a new EcucChoiceContainerDef
as a sub-container
Sourcepub fn create_param_conf_container_def(
&self,
name: &str,
) -> Result<EcucParamConfContainerDef, AutosarAbstractionError>
pub fn create_param_conf_container_def( &self, name: &str, ) -> Result<EcucParamConfContainerDef, AutosarAbstractionError>
create a new EcucParamConfContainerDef
as a sub-container
Sourcepub fn sub_containers(
&self,
) -> impl Iterator<Item = EcucContainerDef> + Send + 'static
pub fn sub_containers( &self, ) -> impl Iterator<Item = EcucContainerDef> + Send + 'static
iterate over the sub-containers
Sourcepub fn create_add_info_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucAddInfoParamDef, AutosarAbstractionError>
pub fn create_add_info_param_def( &self, name: &str, origin: &str, ) -> Result<EcucAddInfoParamDef, AutosarAbstractionError>
create a new EcucAddInfoParamDef
in the container
Sourcepub fn create_boolean_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucBooleanParamDef, AutosarAbstractionError>
pub fn create_boolean_param_def( &self, name: &str, origin: &str, ) -> Result<EcucBooleanParamDef, AutosarAbstractionError>
create a new EcucBooleanParamDef
in the container
Sourcepub fn create_enumeration_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucEnumerationParamDef, AutosarAbstractionError>
pub fn create_enumeration_param_def( &self, name: &str, origin: &str, ) -> Result<EcucEnumerationParamDef, AutosarAbstractionError>
create a new EcucEnumerationParamDef
in the container
Sourcepub fn create_float_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucFloatParamDef, AutosarAbstractionError>
pub fn create_float_param_def( &self, name: &str, origin: &str, ) -> Result<EcucFloatParamDef, AutosarAbstractionError>
create a new EcucFloatParamDef
in the container
Sourcepub fn create_integer_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucIntegerParamDef, AutosarAbstractionError>
pub fn create_integer_param_def( &self, name: &str, origin: &str, ) -> Result<EcucIntegerParamDef, AutosarAbstractionError>
create a new EcucIntegerParamDef
in the container
Sourcepub fn create_function_name_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucFunctionNameDef, AutosarAbstractionError>
pub fn create_function_name_param_def( &self, name: &str, origin: &str, ) -> Result<EcucFunctionNameDef, AutosarAbstractionError>
create a new EcucFunctionNameDef
in the container
Sourcepub fn create_linker_symbol_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucLinkerSymbolDef, AutosarAbstractionError>
pub fn create_linker_symbol_param_def( &self, name: &str, origin: &str, ) -> Result<EcucLinkerSymbolDef, AutosarAbstractionError>
create a new EcucLinkerSymbolDef
in the container
Sourcepub fn create_multiline_string_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucMultilineStringParamDef, AutosarAbstractionError>
pub fn create_multiline_string_param_def( &self, name: &str, origin: &str, ) -> Result<EcucMultilineStringParamDef, AutosarAbstractionError>
create a new EcucMultilineStringParamDef
in the container
Sourcepub fn create_string_param_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucStringParamDef, AutosarAbstractionError>
pub fn create_string_param_def( &self, name: &str, origin: &str, ) -> Result<EcucStringParamDef, AutosarAbstractionError>
create a new EcucStringParamDef
in the container
Sourcepub fn parameters(
&self,
) -> impl Iterator<Item = EcucParameterDef> + Send + 'static
pub fn parameters( &self, ) -> impl Iterator<Item = EcucParameterDef> + Send + 'static
get the parameters in the container
Sourcepub fn create_foreign_reference_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucForeignReferenceDef, AutosarAbstractionError>
pub fn create_foreign_reference_def( &self, name: &str, origin: &str, ) -> Result<EcucForeignReferenceDef, AutosarAbstractionError>
create a new EcucForeignReferenceDef
in the container
Sourcepub fn create_instance_reference_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucInstanceReferenceDef, AutosarAbstractionError>
pub fn create_instance_reference_def( &self, name: &str, origin: &str, ) -> Result<EcucInstanceReferenceDef, AutosarAbstractionError>
create a new EcucInstanceReferenceDef
in the container
Sourcepub fn create_choice_reference_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucChoiceReferenceDef, AutosarAbstractionError>
pub fn create_choice_reference_def( &self, name: &str, origin: &str, ) -> Result<EcucChoiceReferenceDef, AutosarAbstractionError>
create a new EcucChoiceReferenceDef
in the container
Sourcepub fn create_reference_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucReferenceDef, AutosarAbstractionError>
pub fn create_reference_def( &self, name: &str, origin: &str, ) -> Result<EcucReferenceDef, AutosarAbstractionError>
create a new EcucReferenceDef
in the container
Sourcepub fn create_uri_reference_def(
&self,
name: &str,
origin: &str,
) -> Result<EcucUriReferenceDef, AutosarAbstractionError>
pub fn create_uri_reference_def( &self, name: &str, origin: &str, ) -> Result<EcucUriReferenceDef, AutosarAbstractionError>
create a new EcucUriReferenceDef
in the container
Sourcepub fn references(
&self,
) -> impl Iterator<Item = EcucAnyReferenceDef> + Send + 'static
pub fn references( &self, ) -> impl Iterator<Item = EcucAnyReferenceDef> + Send + 'static
get the references in the container
Trait Implementations§
Source§impl Clone for EcucParamConfContainerDef
impl Clone for EcucParamConfContainerDef
Source§fn clone(&self) -> EcucParamConfContainerDef
fn clone(&self) -> EcucParamConfContainerDef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for EcucParamConfContainerDef
impl Debug for EcucParamConfContainerDef
Source§impl EcucDefinitionElement for EcucParamConfContainerDef
impl EcucDefinitionElement for EcucParamConfContainerDef
Source§fn set_lower_multiplicity(
&self,
lower_multiplicity: Option<u32>,
) -> Result<(), AutosarAbstractionError>
fn set_lower_multiplicity( &self, lower_multiplicity: Option<u32>, ) -> Result<(), AutosarAbstractionError>
Source§fn lower_multiplicity(&self) -> Option<u32>
fn lower_multiplicity(&self) -> Option<u32>
Source§fn set_upper_multiplicity(
&self,
upper_multiplicity: Option<u32>,
) -> Result<(), AutosarAbstractionError>
fn set_upper_multiplicity( &self, upper_multiplicity: Option<u32>, ) -> Result<(), AutosarAbstractionError>
Source§fn upper_multiplicity(&self) -> Option<u32>
fn upper_multiplicity(&self) -> Option<u32>
Source§fn set_upper_multiplicity_infinite(
&self,
infinite: Option<bool>,
) -> Result<(), AutosarAbstractionError>
fn set_upper_multiplicity_infinite( &self, infinite: Option<bool>, ) -> Result<(), AutosarAbstractionError>
Source§fn upper_multiplicity_infinite(&self) -> Option<bool>
fn upper_multiplicity_infinite(&self) -> Option<bool>
Source§impl From<EcucParamConfContainerDef> for Element
impl From<EcucParamConfContainerDef> for Element
Source§fn from(val: EcucParamConfContainerDef) -> Self
fn from(val: EcucParamConfContainerDef) -> Self
Source§impl Hash for EcucParamConfContainerDef
impl Hash for EcucParamConfContainerDef
Source§impl TryFrom<Element> for EcucParamConfContainerDef
impl TryFrom<Element> for EcucParamConfContainerDef
impl AbstractEcucContainerDef for EcucParamConfContainerDef
impl Eq for EcucParamConfContainerDef
impl StructuralPartialEq for EcucParamConfContainerDef
Auto Trait Implementations§
impl Freeze for EcucParamConfContainerDef
impl !RefUnwindSafe for EcucParamConfContainerDef
impl Send for EcucParamConfContainerDef
impl Sync for EcucParamConfContainerDef
impl Unpin for EcucParamConfContainerDef
impl !UnwindSafe for EcucParamConfContainerDef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.