NuSMV/code/nusmv/core/utils/Pair.h File Reference

#include "nusmv/core/utils/utils.h"

Go to the source code of this file.

Data Structures

struct  Pair
 Pair class definition. More...

Defines

#define PAIR(self)   ((Pair_ptr) self)
 To cast and check instances of class Pair.
#define PAIR_CHECK_INSTANCE(self)   (nusmv_assert(PAIR(self) != PAIR(NULL)))

Typedefs

typedef struct Pair_TAG * Pair_ptr

Functions

int Pair_compare (const Pair_ptr a, const Pair_ptr b)
 Pair comparison function.

Define Documentation

#define PAIR ( self   )     ((Pair_ptr) self)

To cast and check instances of class Pair.

These macros must be used respectively to cast and to check instances of class Pair

#define PAIR_CHECK_INSTANCE ( self   )     (nusmv_assert(PAIR(self) != PAIR(NULL)))
Todo:
Missing synopsis
Todo:
Missing description

Typedef Documentation

typedef struct Pair_TAG* Pair_ptr

Function Documentation

int Pair_compare ( const Pair_ptr  a,
const Pair_ptr  b 
)

Pair comparison function.

Pair comparison function. Returns if the two Pair instances are the equal. No distinction between frozen / unfrozen instances is made. Can be casted to ST_PFICPCP.

Casts to char* are added to prevent "warning: pointer of type ‘void *’ used in subtraction".

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 14 Oct 2015 for NuSMV Developers Manual by  doxygen 1.6.1