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

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

Go to the source code of this file.

Data Structures

struct  Triple
 Triple class definition. More...

Defines

#define TRIPLE(self)   ((Triple_ptr) self)
 To cast and check instances of class Triple.
#define TRIPLE_CHECK_INSTANCE(self)   (nusmv_assert(TRIPLE(self) != TRIPLE(NULL)))

Typedefs

typedef struct Triple_TAG * Triple_ptr

Functions

int Triple_compare (const Triple_ptr a, const Triple_ptr b)
 Triple comparison function.

Define Documentation

#define TRIPLE ( self   )     ((Triple_ptr) self)

To cast and check instances of class Triple.

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

#define TRIPLE_CHECK_INSTANCE ( self   )     (nusmv_assert(TRIPLE(self) != TRIPLE(NULL)))
Todo:
Missing synopsis
Todo:
Missing description

Typedef Documentation

typedef struct Triple_TAG* Triple_ptr

Function Documentation

int Triple_compare ( const Triple_ptr  a,
const Triple_ptr  b 
)

Triple comparison function.

Triple comparison function. Returns if the two Triple 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