Changeset 1099 in Sophya for trunk/SophyaLib/TArray/tvector.h


Ignore:
Timestamp:
Jul 26, 2000, 6:29:46 PM (25 years ago)
Author:
ansari
Message:

Protection integrite TMatrix,TVector - operateur = (BaseArray & pour TVector et operations entre matrices avec <> MemMapping (Pas termine) Reza 27/6/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/tvector.h

    r976 r1099  
    1919  TVector(const TArray<T>& a);
    2020  TVector(const TArray<T>& a,  bool share, short lcv=AutoVectorType, short mm=AutoMemoryMapping);
     21  TVector(const BaseArray& a);
    2122
    2223  virtual ~TVector();
     
    2728  inline  TVector<T>& operator = (const TVector<T>& a)
    2829                       { Set(a);  return(*this); }
    29 
     30  //! Operator = between a vector and a matrix
     31  inline  TVector<T>& operator = (const TMatrix<T>& a)
     32                       { Set(a);  return(*this); }
     33  //! Operator = between a vector and an array
     34  inline  TVector<T>& operator = (const TArray<T>& a)
     35                       { Set(a);  return(*this); }
     36  //! Operator = between Vectors with different types
     37  inline  TVector<T>& operator = (const BaseArray& a)
     38                       { SetBA(a);  return(*this); }
     39   
    3040  // Gestion taille/Remplissage
    3141  void ReSize(uint_4 n, short lcv=SameVectorType );
Note: See TracChangeset for help on using the changeset viewer.