Changeset 14958


Ignore:
Timestamp:
05/08/13 10:22:31 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: moved StringToEnumx and EnumToStringx to shared/Enum

Location:
issm/trunk-jpl/src/c
Files:
1 added
2 deleted
4 edited
4 copied

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/EnumDefinitions/EnumDefinitions.h

    r14928 r14958  
    77#define _ENUM_DEFINITIONS_
    88
    9 #include "../modules/EnumToStringx/EnumToStringx.h"
    10 #include "../modules/StringToEnumx/StringToEnumx.h"
     9#include "../shared/Enum/EnumToStringx.h"
     10#include "../shared/Enum/StringToEnumx.h"
    1111
    1212enum definitions{
  • issm/trunk-jpl/src/c/Makefile.am

    r14953 r14958  
    191191                                        ./shared/io/Comm/IssmComm.h\
    192192                                        ./shared/io/Comm/IssmComm.cpp\
     193                                        ./shared/Enum/EnumToStringx.cpp\
     194                                        ./shared/Enum/EnumToStringx.h\
     195                                        ./shared/Enum/StringToEnumx.cpp\
     196                                        ./shared/Enum/StringToEnumx.h\
    193197                                        ./shared/Numerics/numerics.h\
    194198                                        ./shared/Numerics/types.h\
     
    305309                                        ./modules/Reduceloadx/Reduceloadx.h\
    306310                                        ./modules/Reduceloadx/Reduceloadx.cpp\
    307                                         ./modules/EnumToStringx/EnumToStringx.cpp\
    308                                         ./modules/EnumToStringx/EnumToStringx.h\
    309                                         ./modules/StringToEnumx/StringToEnumx.cpp\
    310                                         ./modules/StringToEnumx/StringToEnumx.h\
    311311                                        ./modules/ConstraintsStatex/ConstraintsStatex.cpp\
    312312                                        ./modules/ConstraintsStatex/ConstraintsStatex.h\
  • issm/trunk-jpl/src/c/modules/modules.h

    r14714 r14958  
    2626#include "./ElementConnectivityx/ElementConnectivityx.h"
    2727#include "./EdgeDetectionx/EdgeDetectionx.h"
    28 #include "./EnumToStringx/EnumToStringx.h"
    29 #include "./StringToEnumx/StringToEnumx.h"
    3028#include "./GetSolutionFromInputsx/GetSolutionFromInputsx.h"
    3129#include "./GetVectorFromInputsx/GetVectorFromInputsx.h"
  • issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp

    r14957 r14958  
    99
    1010#include <cstring>
    11 #include "../../shared/shared.h"
    1211#include "./EnumToStringx.h"
     12#include "../Exceptions/exceptions.h"
     13#include "../MemOps/MemOps.h"
     14#include "../../EnumDefinitions/EnumDefinitions.h"
    1315
    1416const char* EnumToStringx(int en){
  • issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp

    r14957 r14958  
    99
    1010#include <cstring>
    11 #include "../../shared/shared.h"
    1211#include "./StringToEnumx.h"
     12#include "../Exceptions/exceptions.h"
     13#include "../../EnumDefinitions/EnumDefinitions.h"
    1314
    1415int  StringToEnumx(const char* name){
  • issm/trunk-jpl/src/c/shared/shared.h

    r14904 r14958  
    99#include "./Bamg/shared.h"
    1010#include "./Elements/elements.h"
     11#include "./Enum/EnumToStringx.h"
     12#include "./Enum/StringToEnumx.h"
    1113#include "./Exceptions/exceptions.h"
    1214#include "./Exp/exp.h"
Note: See TracChangeset for help on using the changeset viewer.