Documentation


assertions.h File Reference

#include <cassert>
#include <stdio.h>

Go to the source code of this file.

Defines

#define Require(expr)
 Defines the Require and Ensure macros for assertions.

#define Ensure(expr)
#define Require(expr)
 Defines the Require and Ensure macros for assertions.

#define Ensure(expr)


Define Documentation

#define Ensure expr   ) 
 

Value:

(__ASSERT_VOID_CAST ((expr) ? 0 : fprintf( stderr, "Ensure: %s failed in %s:%s at line %d\n", \
                                                                        __STRING( expr ), __FILE__, __ASSERT_FUNCTION, __LINE__) ) )

Definition at line 34 of file assertions.h.

#define Ensure expr   ) 
 

Value:

(__ASSERT_VOID_CAST ((expr) ? 0 : fprintf( stderr, "Ensure: %s failed in %s:%s at line %d\n", \
                                                                        __STRING( expr ), __FILE__, __ASSERT_FUNCTION, __LINE__) ) )

Definition at line 34 of file assertions.h.

Referenced by animal::octree::ConstrainedVertex::addChild(), animal::octree::ConstrainedVertex::ConstrainedVertex(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::createFreeVertex(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::createLinkedVertex(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::createRootVertex(), animal::octree::GeoLink::freeIt(), animal::octree::ConstrainedVertex::freeIt(), animal::octree::ConstrainedVertex::getCellWithFreeVertexConnectedToVertex(), animal::octree::ConstrainedVertex::getFathersFreeVertex(), animal::octree::ConstrainedVertex::getSmallestCellsFreeVertexSharingFaceForVertex(), animal::octree::getVertexFreeCell(), animal::octree::GeoLink::hardLinkIt(), animal::octree::ConstrainedVertex::hardLinkIt(), animal::octree::ManipulatedMeshVertex::ManipulatedMeshVertex(), animal::octree::ConstrainedVertex::registerCell(), animal::octree::ConstrainedVertex::removeChild(), animal::octree::GeoLink::softLinkIt(), animal::octree::Octree::subdivideDeformed(), and animal::octree::ConstrainedVertex::unregisterCell().

#define Require expr   ) 
 

Value:

(__ASSERT_VOID_CAST ((expr) ? 0 : fprintf( stderr, "Require: %s failed in %s:%s at line %d\n", \
                                                                        __STRING( expr ), __FILE__, __ASSERT_FUNCTION, __LINE__) ) )
Defines the Require and Ensure macros for assertions.

Definition at line 30 of file assertions.h.

#define Require expr   ) 
 

Value:

(__ASSERT_VOID_CAST ((expr) ? 0 : fprintf( stderr, "Require: %s failed in %s:%s at line %d\n", \
                                                                        __STRING( expr ), __FILE__, __ASSERT_FUNCTION, __LINE__) ) )
Defines the Require and Ensure macros for assertions.

Definition at line 30 of file assertions.h.

Referenced by animal::octree::ConstrainedVertex::addChild(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::Cell(), animal::octree::GeoLink::changeCell(), animal::octree::ConstrainedVertex::child(), animal::octree::ConstrainedVertex::computeDelta(), animal::octree::computeDirectManipulationResultPseudoInverse(), animal::octree::computeDirectManipulationSkinning(), animal::octree::ConstrainedVertex::computeFrame(), X3DTK::X3D::DeformableOctreeShapeNode::computeNormals(), animal::octree::ConstrainedVertex::computePosition(), animal::octree::ConstrainedVertex::computeValue(), animal::octree::ConstrainedVertex::computeValueFromParents(), animal::octree::ConstrainedVertex::computeValueFromRelatives(), animal::octree::ConstrainedVertex::connectedCell(), animal::octree::Octree::directManipulation(), X3DTK::X3D::drawCell(), animal::octree::CGRenderingMachine::drawMethodLinear(), X3DTK::X3D::DeformableOctreeNode::drawNeighbours(), animal::octree::GeoLink::freeIt(), animal::octree::ConstrainedVertex::freeIt(), animal::octree::ConstrainedVertex::getAlpha(), animal::octree::ConstrainedVertex::getAlphaFactors(), animal::octree::ConstrainedVertex::getBeta(), animal::octree::ConstrainedVertex::getBetaFactors(), animal::octree::ConstrainedVertex::getCellWithFreeVertexConnectedToVertex(), animal::octree::ConstrainedVertex::getChildPos(), animal::octree::ConstrainedVertex::getConstrainedDepth(), animal::octree::ConstrainedVertex::getGamma(), animal::octree::ConstrainedVertex::getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getGeoParentId(), animal::octree::SFVec3fCellConstrained::getInitNormalParameters(), animal::octree::SFVec3fCellConstrained::getInitNormalRelativeWeight(), animal::octree::getMatrixInverse(), animal::octree::FastOctree< T, S, U >::Cell::getNeighbour(), animal::octree::SFVec3fCellConstrained::getParameters(), animal::octree::SFVec3fCellConstrained::getRelativePosition(), animal::octree::SFVec3fCellConstrained::getRelativeWeight(), animal::octree::ConstrainedVertex::getSmallestCellsFreeVertexSharingFaceForVertex(), animal::octree::Frame::getVector(), animal::octree::getVertexFreeCell(), animal::octree::getVertexPositionInCell(), animal::octree::getWeightsHash(), animal::octree::GeoLink::hardLinkIt(), animal::octree::ConstrainedVertex::hardLinkIt(), animal::octree::animal::octree::HermiteFunction::HermiteFunction(), animal::octree::HVecToVec3d(), animal::octree::GeoLink::isGeoLinkParent(), animal::octree::ManipulatedMeshVertex::ManipulatedMeshVertex(), animal::octree::ManipulatedMeshVertexAnimated< t_Vector, t_Real, t_VecReal >::moveTo(), animal::octree::ManipulatedMeshVertex::moveTo(), animal::octree::Octree::Octree(), animal::octree::animal::octree::FastOctree< T, S, U >::dfs_leaf_iterator::operator *(), animal::octree::animal::octree::FastOctree< T, S, U >::dfs_iterator::operator *(), animal::octree::animal::octree::FastOctree< T, S, U >::dfs_leaf_iterator::operator++(), animal::octree::animal::octree::FastOctree< T, S, U >::dfs_iterator::operator++(), X3DTK::X3D::DeformableOctreeShapeNode::postInit(), X3DTK::X3D::DeformableOctreeParticleSystemNode::postInit(), X3DTK::X3D::DeformableOctreeNode::postInit(), animal::octree::ConstrainedVertex::registerCell(), animal::octree::ConstrainedVertex::removeChild(), animal::octree::CGRenderingMachine::render(), animal::octree::Octree::setDMMethod(), animal::octree::Octree::setNMaxPointsPerCell(), X3DTK::X3D::DeformableOctreeShapeNode::setOctree(), animal::octree::ConstrainedVertex::setPositionAndPropagate(), animal::octree::ConstrainedVertex::setValueAndPropagate(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::simplify(), animal::octree::GeoLink::softLinkIt(), animal::octree::ConstrainedVertex::softLinkIt(), animal::octree::Octree::subdivideDeformed(), animal::octree::ConstrainedVertex::unregisterCell(), animal::octree::ConstrainedVertex::updateChildrensPositionOptimizedNotFree(), animal::octree::ConstrainedVertex::updateConstrainedChildrensPosition(), animal::octree::ConstrainedVertex::updatePosition(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::~Cell(), animal::octree::ConstrainedVertex::~ConstrainedVertex(), animal::octree::GeoLink::~GeoLink(), and animal::octree::ManipulatedMeshVertex::~ManipulatedMeshVertex().


Generated on Thu Dec 23 13:52:27 2004 by doxygen 1.3.6