[][src]Struct hulc2envolventecte::parsers::bdl::Data

pub struct Data {
    pub meta: HashMap<String, BdlBlock>,
    pub db: DB,
    pub spaces: Vec<Space>,
    pub walls: Vec<Wall>,
    pub windows: Vec<Window>,
    pub tbridges: Vec<ThermalBridge>,
    pub shadings: Vec<Shade>,
    pub spaceconds: HashMap<String, BdlBlock>,
    pub systemconds: HashMap<String, BdlBlock>,
    pub schedules: HashMap<String, BdlBlock>,
}

Datos del archivo BDL

Fields

meta: HashMap<String, BdlBlock>

Metadatos: espacio de trabajo, parámetros de edificio, construcciones por defecto y datos generales

db: DB

Base de datos de materiales, productos y composiciones constructivas

spaces: Vec<Space>

Lista de espacios

walls: Vec<Wall>

Elementos opacos de la envolvente

windows: Vec<Window>

Elementos semitransparentes de la envolvente

tbridges: Vec<ThermalBridge>

Puentes térmicos

shadings: Vec<Shade>

Sombras exteriores del edificio

spaceconds: HashMap<String, BdlBlock>

Condiciones de uso de los espacios

systemconds: HashMap<String, BdlBlock>

Consignas de los sistemas

schedules: HashMap<String, BdlBlock>

Horarios

Implementations

impl Data[src]

pub fn new<T: AsRef<str>>(input: T) -> Result<Self, Error>[src]

pub fn get_window<T: AsRef<str>>(&self, name: T) -> Option<&Window>[src]

Localiza hueco

pub fn get_wall<T: AsRef<str>>(&self, name: T) -> Option<&Wall>[src]

Localiza muro

pub fn get_space<T: AsRef<str>>(&self, name: T) -> Option<&Space>[src]

Localiza espacio

Trait Implementations

impl Clone for Data[src]

impl Debug for Data[src]

impl Default for Data[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.