Ignore:
Timestamp:
Aug 2, 1999, 6:52:49 PM (26 years ago)
Author:
ercodmgr
Message:

1/ Extension de fonctionalites de gestion de repertoires (Lock, ...)
2/ Plus de NTupIntf_Adapter quand les objets heritent de NTupleInterface
3/ Support pour affichage info texte, ds PINtuple et PIStarList

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nomhistadapter.cc

    r326 r344  
    6363
    6464/* --Methode-- */
    65 NTupleInterface* NOMAdapter_Histo::GetNTupleInterface()
    66 {
     65NTupleInterface* NOMAdapter_Histo::GetNTupleInterface(bool& adel)
     66{
     67adel = true;
    6768return( new NTupInt_Histo(mHis) );
    6869}
     
    178179
    179180/* --Methode-- */
    180 NTupleInterface* NOMAdapter_Histo2D::GetNTupleInterface()
    181 {
     181NTupleInterface* NOMAdapter_Histo2D::GetNTupleInterface(bool& adel)
     182{
     183adel = true;
    182184return( new NTupInt_Histo2D(mHis) );
    183185}
     
    289291
    290292/* --Methode-- */
    291 NTupleInterface* NOMAdapter_NTuple::GetNTupleInterface()
    292 {
    293 return( new NTupInt_NTuple(mNt) );
    294 }
    295 
    296 
    297 // -------------------------------------------------------------
    298 
    299 /* --Methode-- */
    300 NTupInt_NTuple::NTupInt_NTuple(NTuple* nt)
    301 {
    302 mNt = nt;
    303 }
    304 
    305 /* --Methode-- */
    306 NTupInt_NTuple::~NTupInt_NTuple()
    307 {
    308 }
    309 
    310 /* --Methode-- */
    311 uint_4 NTupInt_NTuple::NbLines() const
    312 {
    313 return(mNt->NEntry());
    314 }
    315 
    316 /* --Methode-- */
    317 uint_4 NTupInt_NTuple::NbColumns() const
    318 {
    319 return(mNt->NVar());
    320 }
    321 
    322 /* --Methode-- */
    323 r_8* NTupInt_NTuple::GetLineD(int n) const
    324 {
    325 return(mNt->GetVecD(n));
    326 }
    327 
    328 /* --Methode-- */
    329 string NTupInt_NTuple::VarList_C(const char* nx) const
    330 {
    331 return(mNt->VarList_C(nx));
    332 }
     293NTupleInterface* NOMAdapter_NTuple::GetNTupleInterface(bool& adel)
     294{
     295adel = false;
     296return(mNt);
     297// return( new NTupInt_NTuple(mNt) );
     298}
     299
     300
Note: See TracChangeset for help on using the changeset viewer.