libs/EDoc/CodeBlock.cpp File Reference

#include "config.h"
#include "EDoc/CodeBlock.h"
#include "EDoc/TryBlock.h"
#include "EDoc/utils.h"
#include "EDoc/Function.h"
#include "EDoc/Type.h"
#include "EDoc/FunctionType.h"
#include "EDoc/PStack.h"
#include "EDoc/StackRef.h"
#include "EDoc/Dictionary.h"
#include "EDoc/PersistenceIFace.h"
#include "IndexedDictionary.h"
#include "EDoc/persistence_data.h"

Go to the source code of this file.

Namespaces

namespace  EDoc

Defines

#define EDOC_LIST_MERGE(VectorName, VectorType)
#define EDOC_LIST_COMPARE(VectorName, VectorType)


Define Documentation

#define EDOC_LIST_COMPARE ( VectorName,
VectorType   ) 

Value:

if (VectorName.size() != right.VectorName.size()) \
      { \
         return false; \
      } \
      for (std::list<VectorType>::const_iterator it = VectorName.begin(); \
         it != VectorName.end(); it++) \
      { \
         bool found = false; \
         for (std::list<VectorType>::const_iterator jt = \
            right.VectorName.begin(); \
            jt != right.VectorName.end(); \
            jt++) \
         { \
            if (*it == *jt) \
            { \
               found = true; \
               break; \
            } \
         } \
         if (!found) \
         { \
            return false; \
         } \
      }

Referenced by EDoc::CodeBlock::operator==().

#define EDOC_LIST_MERGE ( VectorName,
VectorType   ) 

Referenced by EDoc::CodeBlock::Merge().


Generated on Tue Jan 20 18:26:08 2009 for EDoc-0.2.1 by  doxygen 1.5.1