OMK::UnallowedOverloadingException Class Reference

exception throwed when an attribute is redefined with the same name and a different type More...

#include <OMKUnallowedOverloadingException.h>

Inheritance diagram for OMK::UnallowedOverloadingException:

Inheritance graph
[legend]
Collaboration diagram for OMK::UnallowedOverloadingException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UnallowedOverloadingException (const Name &attributeName, const Name &objectName)

Public Attributes

const Name_attributeName
const Name_objectName

Detailed Description

exception throwed when an attribute is redefined with the same name and a different type

Definition at line 29 of file OMKUnallowedOverloadingException.h.


Constructor & Destructor Documentation

UnallowedOverloadingException::UnallowedOverloadingException ( const Name attributeName,
const Name objectName 
)

Definition at line 23 of file OMKUnallowedOverloadingException.cpp.

References _attributeName, and _objectName.

00025    : Exception ("Tried to overload an attribute !"),
00026      _attributeName ( attributeName ),
00027      _objectName ( objectName )
00028 {
00029   *this<<_objectName<<"::"<<_attributeName;
00030 }


Member Data Documentation

const Name& OMK::UnallowedOverloadingException::_attributeName

Definition at line 32 of file OMKUnallowedOverloadingException.h.

Referenced by UnallowedOverloadingException().

const Name& OMK::UnallowedOverloadingException::_objectName

Definition at line 33 of file OMKUnallowedOverloadingException.h.

Referenced by UnallowedOverloadingException().


logo OpenMask

Documentation generated on Mon Jun 9 11:46:01 2008

Generated with doxygen by Dimitri van Heesch ,   1997-2007