SFrame 3.6
core/src/SCycleBaseConfig.cxx File Reference
#include <cstdlib>
#include <sstream>
#include <TString.h>
#include <TXMLNode.h>
#include <TList.h>
#include <TXMLAttr.h>
#include <TSystem.h>
#include "../include/SCycleBaseConfig.h"
#include "../include/SGeneratorCut.h"
#include "../include/STreeTypeDecoder.h"
Include dependency graph for SCycleBaseConfig.cxx:

Go to the source code of this file.

Defines

#define CHECK_FOR_DUPLICATES(NAME)
 Macro used in the DeclareProperty(...) functions.

Define Documentation

#define CHECK_FOR_DUPLICATES (   NAME)
Value:
{                                    \
      if( ( m_stringPrefs.find( NAME ) !=                               \
            m_stringPrefs.end() ) ||                                    \
          ( m_intPrefs.find( NAME ) !=                                  \
            m_intPrefs.end() ) ||                                       \
          ( m_doublePrefs.find( NAME ) !=                               \
            m_doublePrefs.end() ) ||                                    \
          ( m_boolPrefs.find( NAME ) !=                                 \
            m_boolPrefs.end() ) ||                                      \
          ( m_stringListPrefs.find( NAME ) !=                           \
            m_stringListPrefs.end() ) ||                                \
          ( m_intListPrefs.find( NAME ) !=                              \
            m_intListPrefs.end() ) ||                                   \
          ( m_doubleListPrefs.find( NAME ) !=                           \
            m_doubleListPrefs.end() ) ||                                \
          ( m_boolListPrefs.find( NAME ) !=                             \
            m_boolListPrefs.end() ) ) {                                 \
         REPORT_ERROR( "The property name \"" << NAME                   \
                       << "\" is used in multiple locations!" );        \
         REPORT_ERROR( "Some parts of the code will not be "            \
                       "configured correctly!" );                       \
      }                                                                 \
   } while( 0 )

Macro used in the DeclareProperty(...) functions.

Definition at line 34 of file SCycleBaseConfig.cxx.

Referenced by SCycleBaseConfig::DeclareProperty().