Ignore:
Timestamp:
04/29/06 19:11:23 (18 years ago)
Author:
mattausch
Message:

working on preprocessor integration
added iv stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp

    r860 r863  
    2020#include "Vector3.h" 
    2121 
    22    
    23 using namespace GtpVisibilityPreprocessor { 
     22using namespace std; 
     23   
     24namespace GtpVisibilityPreprocessor { 
     25 
     26 
    2427 
    2528Environment *environment = NULL; 
     
    269272  // new option 
    270273  options[numOptions].type = type; 
    271   options[numOptions].name = strdup(name); 
     274  options[numOptions].name = ::strdup(name); 
    272275  // assign abbreviation, if requested 
    273276  if (abbrev != NULL) { 
    274     options[numOptions].abbrev = strdup(abbrev); 
     277          options[numOptions].abbrev = ::strdup(abbrev); 
    275278  } 
    276279  // assign default value, if requested 
    277280  if (defValue != NULL) { 
    278     options[numOptions].defaultValue = strdup(defValue); 
     281          options[numOptions].defaultValue = ::strdup(defValue); 
    279282    if (!CheckType(defValue, type)) { 
    280283      Debug << "Internal error: Inconsistent type and default value in option " 
     
    610613  if (options[i].type == optString) { 
    611614    delete options[i].value; 
    612     options[i].value = strdup(value); 
     615        options[i].value = ::strdup(value); 
    613616  } 
    614617  else { 
Note: See TracChangeset for help on using the changeset viewer.