Back to index

salome-kernel  6.5.0
Public Member Functions | Public Attributes
filtre_elementaire Class Reference

#include <DataIdFilter.hxx>

List of all members.

Public Member Functions

 filtre_elementaire ()
 filtre_elementaire (int valeur)
 filtre_elementaire (int _debut, int _fin, int _pas=1)
 filtre_elementaire (filtre_elementaire &_f)

Public Attributes

int len
int debut
int fin
int pas

Detailed Description

Definition at line 94 of file DataIdFilter.hxx.


Constructor & Destructor Documentation

Definition at line 103 of file DataIdFilter.hxx.

{}
filtre_elementaire::filtre_elementaire ( int  valeur) [inline]

Definition at line 106 of file DataIdFilter.hxx.

    {
        this->len = 1;
        this->debut = valeur;
    }
filtre_elementaire::filtre_elementaire ( int  _debut,
int  _fin,
int  _pas = 1 
) [inline]

Definition at line 114 of file DataIdFilter.hxx.

    {
        this->debut = _debut;
        this->len = (_fin - _debut) / _pas;
        if (this->len > 0)
        {
            this->fin = _debut + _pas * this->len;  // Calcule la vrai borne de fin
            this->pas = _pas;
            this->len += 1;   // Compte les bornes et non les intervalles
        }
        else  // erreur de spécification: on ne prend que la première valeur
            this->len = 1;
    }

Definition at line 129 of file DataIdFilter.hxx.

    {
      this->len = _f.len;
      this->debut = _f.debut;
      this->fin = _f.fin;
      this->pas = _f.pas;
    }

Member Data Documentation

Definition at line 98 of file DataIdFilter.hxx.

Definition at line 99 of file DataIdFilter.hxx.

Definition at line 97 of file DataIdFilter.hxx.

Definition at line 100 of file DataIdFilter.hxx.


The documentation for this class was generated from the following file: