Changeset 440 in Sophya


Ignore:
Timestamp:
Sep 26, 1999, 5:49:56 PM (26 years ago)
Author:
ercodmgr
Message:

flag KCC -> namespace std et CC_HAS_RTTI_SUPPORT Reza 26/9/99

Location:
trunk/SophyaPI
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pi3ddrw.cc

    r329 r440  
    125125{
    126126  if (axesFlags == kAxesNone) return;
    127 #if defined(__DECCXX) || defined(__KCC__)
     127#if defined(CC_HAS_RTTI_SUPPORT)
    128128  PIGraphic3D* g3 = dynamic_cast<PIGraphic3D*>(g);
    129129#else
     
    318318  list<int>::iterator it;
    319319  for(it = m3DrIl.begin(); it != m3DrIl.end(); it++)   
    320 #if defined(__DECCXX) || defined(__KCC__)
     320#if defined(CC_HAS_RTTI_SUPPORT)
    321321    (dynamic_cast<PIDrawer3D*>(GetDrawerId(*it)))->Set3DView_Obs(xo, yo, zo, teta, phi, psi, dax, day, co, dco);
    322322#else
     
    333333  list<int>::iterator it;
    334334  for(it = m3DrIl.begin(); it != m3DrIl.end(); it++)   
    335 #if defined(__DECCXX) || defined(__KCC__)
     335#if defined(CC_HAS_RTTI_SUPPORT)
    336336    (dynamic_cast<PIDrawer3D*>(GetDrawerId(*it)))->Set3DView(xc, yc, zc, xo, yo, zo, dax, day, dco, psi);
    337337#else
     
    354354  list<int>::iterator it = m3DrIl.begin();
    355355  if (it == m3DrIl.end())  return;
    356 #if defined(__DECCXX) || defined(__KCC__)
     356#if defined(CC_HAS_RTTI_SUPPORT)
    357357  PIDrawer3D* dr3 = dynamic_cast<PIDrawer3D*>(GetDrawerId(*it));
    358358#else
     
    380380  list<int>::iterator it;
    381381
    382 #if defined(__DECCXX) || defined(__KCC__)
     382#if defined(CC_HAS_RTTI_SUPPORT)
    383383  if (vo)   for(it = m3DrIl.begin(); it != m3DrIl.end(); it++)   
    384384    (dynamic_cast<PIDrawer3D*>(GetDrawerId(*it)))->Set3DView_Obs(xo, yo, zo, teta, phi, psi, dax, day, co, dco);
  • trunk/SophyaPI/PI/pibwdggen.h

    r329 r440  
    2020// Mettre dans cet ordre, sinon g++ a des problemes   
    2121#include <vector>   
    22 #if defined(__KCC__)
    23 #include <vector.h>
    24 #endif
    2522
    2623
  • trunk/SophyaPI/PI/picmapgen.cc

    r163 r440  
    22#include <list>
    33#include <algorithm>
    4 #if defined(__KCC__)
    5 #include <list.h>
    6 #include <algorithm.h>
    7 #endif
    84#include "pisysdep.h"
    95#include PICMAPNTV_H
  • trunk/SophyaPI/PI/picmapgen.h

    r163 r440  
    55#include <string>
    66#include <string.h>
    7 #if defined(__KCC__)
    8 using std::string ;
    9 #endif
    10 
    117
    128 
  • trunk/SophyaPI/PI/picontainergen.cc

    r367 r440  
    242242{
    243243mNCh = 0;
    244 mACSup = true;   // Suppression automatique des widgets fils au delete
     244mACSup = false;   // Pas de Suppression automatique des widgets fils au delete
    245245mPaSup = false;
    246246mChilds = new (PIWdg* [NCHALGRP]);
  • trunk/SophyaPI/PI/pigfname.h

    r163 r440  
    22#define PIGFNAME_H_SEEN
    33
     4#include "machdefs.h"
    45#include <string>
    5 #if defined(__KCC__)
    6 using std::string ;
    7 #endif
    86
    97string PIGetFileName(string = "");
  • trunk/SophyaPI/PI/pipixmapgen.h

    r329 r440  
    1010
    1111#include <list>
    12 #if defined(__KCC__)
    13 #include <list.h>
    14 #endif
    1512
    1613class PIPixmapGen : public PIBaseWdg
  • trunk/SophyaPI/PI/pisurfdr.cc

    r328 r440  
    9090{
    9191  if (axesFlags == kAxesNone) return;
    92 #if defined(__DECCXX) || defined(__KCC__)
     92#if defined(CC_HAS_RTTI_SUPPORT)
    9393  PIGraphic3D* g3 = dynamic_cast<PIGraphic3D*>(g);
    9494#else
     
    107107  if (mArr == NULL)  return;
    108108
    109 #if defined(__DECCXX) || defined(__KCC__)
     109#if defined(CC_HAS_RTTI_SUPPORT)
    110110  PIGraphic3D* g3 = dynamic_cast<PIGraphic3D*>(g);
    111111#else
  • trunk/SophyaPI/PI/pisysdep.h

    r316 r440  
    11#ifndef PISYSDEP_SEEN
    22#define PISYSDEP_SEEN
     3
     4#include "machdefs.h"
    35
    46#ifdef __MWERKS__         // Macintosh
  • trunk/SophyaPI/PI/piwdggen.h

    r329 r440  
    77#define PIWDG_H_SEEN
    88
     9#include "machdefs.h"
    910#include "pimsghandler.h"
    1011
    1112#include <string>
    1213#include <list>
    13 #if defined(__KCC__)
    14 using std::string ;
    15 #include <list.h>
    16 #endif
    1714
    1815
  • trunk/SophyaPI/PI/psfile.h

    r382 r440  
    3131
    3232#include <list>
    33 #if defined(__KCC__)
    34 #include <list.h>
    35 #endif
    3633
    3734enum PIPaperSize { PI_A4 = 1, PI_A3 = 2, PI_A5 = 3, PI_NotDefPaperSize = 0};
  • trunk/SophyaPI/PIext/dlftypes.h

    r384 r440  
    77#define DLFTYPES_H_SEEN
    88
     9#include "machdefs.h"
    910#include <string>
    1011#include <vector>
    11 #if defined(__KCC__)
    12 using std::string ;
    13 #include <vector.h>
    14 #endif
    1512
    1613// ------------ Fonctions pour trace de fonctions --------------
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r380 r440  
    88#include <list>
    99#include <map>
    10 #if defined(__KCC__)
    11 using std::string ;
    12 #include <list.h>
    13 #include <map.h>
    14 #endif
    1510
    1611#include "strutil.h"
  • trunk/SophyaPI/PIext/nobjmgr.h

    r368 r440  
    1313#include <string>
    1414#include <vector>
    15 #if defined(__KCC__)
    16 using std::string ;
    17 #include <vector.h>
    18 #endif
    1915
    2016class NObjMgrAdapter;
  • trunk/SophyaPI/PIext/piacmd.h

    r361 r440  
    1414#include <map>
    1515#include <functional>
    16 #if defined(__KCC__)
    17 using std::string ;
    18 #include <vector.h>
    19 #include <map.h>
    20 #include <functional.h>
    21 #endif
    2216
    2317#include "dlftypes.h"
  • trunk/SophyaPI/PIext/piafitting.h

    r392 r440  
    1010#include <string>
    1111#include <vector>
    12 #if defined(__KCC__)
    13 using std::string ;
    14 #include <vector.h>
    15 #endif
    1612
    1713#include "anydataobj.h"
  • trunk/SophyaPI/PIext/pigfd2.cc

    r339 r440  
    7575if(mLAtt!=PI_NotDefLineAtt) SelectErrBar(true,true,true);
    7676
    77 #if defined(__DECCXX) || defined(__KCC__)
     77#if defined(CC_HAS_RTTI_SUPPORT)
    7878PIGraphic3D* g3 = dynamic_cast<PIGraphic3D*>(g);
    7979#else
  • trunk/SophyaPI/PIext/pintup3d.cc

    r333 r440  
    9898if ( (xK < 0) || (yK < 0) || (zK < 0) )  return;
    9999
    100 #if defined(__DECCXX) || defined(__KCC__)
     100#if defined(CC_HAS_RTTI_SUPPORT)
    101101PIGraphic3D* g3 = dynamic_cast<PIGraphic3D*>(g);
    102102#else
  • trunk/SophyaPI/PIext/pistdimgapp.cc

    r384 r440  
    88#include <string>
    99#include <vector>
    10 #if defined(__KCC__)
    11 using std::string ;
    12 #include <vector.h>
    13 #endif
    14 
    1510
    1611#include "strutil.h"
  • trunk/SophyaPI/PIext/pistdimgapp.h

    r374 r440  
    1010#include <map>
    1111#include <functional>
    12 #if defined(__KCC__)
    13 using std::string ;
    14 #include <map.h>
    15 #include <functional.h>
    16 #endif
    1712
    1813#include "pisysdep.h"
  • trunk/SophyaPI/PIext/servnobjm.cc

    r368 r440  
    88#include <list>
    99#include <map>
    10 #if defined(__KCC__)
    11 using std::string ;
    12 #include <list.h>
    13 #include <map.h>
    14 #endif
    1510
    1611#include "strutil.h"
  • trunk/SophyaPI/PIext/servnobjm.h

    r361 r440  
    1212#include <map>
    1313#include <functional>
    14 #if defined(__KCC__)
    15 using std::string ;
    16 #include <list.h>
    17 #include <map.h>
    18 #include <functional.h>
    19 #endif
    2014
    2115#include "pdlmgr.h"
Note: See TracChangeset for help on using the changeset viewer.