Base Framework
Public Member Functions | List of all members
IDLInterface Class Reference

IDL interface. More...

#include <base/rmi/idl/IDLInterface.h>

Inherits IDLNamedType.

Public Member Functions

 IDLInterface (const String &name, unsigned int version) noexcept
 
void addMethod (const IDLMethod &method) noexcept
 
bool hasMethod (const String &name) const noexcept
 
IDLMethod getMethod (const String &name) const
 
HashSet< IDLMethodgetMethods () const noexcept
 
bool isCompatible (const IDLInterface &interface) const noexcept
 
 ~IDLInterface () noexcept
 
- Public Member Functions inherited from IDLNamedType
 IDLNamedType (const String &name) noexcept
 
const StringgetName () const noexcept
 
 ~IDLNamedType () noexcept
 
- Public Member Functions inherited from IDLObject
 IDLObject () noexcept
 
 ~IDLObject () noexcept
 

Detailed Description

IDL interface.

Interface Definition Language (IDL) interface.

Version
1.0

Constructor & Destructor Documentation

◆ IDLInterface()

IDLInterface::IDLInterface ( const String name,
unsigned int  version 
)
noexcept

Initializes the IDL interface.

◆ ~IDLInterface()

IDLInterface::~IDLInterface ( )
noexcept

Destroys the IDL interface.

Member Function Documentation

◆ addMethod()

void IDLInterface::addMethod ( const IDLMethod method)
noexcept

Adds the specified method.

◆ getMethod()

IDLMethod IDLInterface::getMethod ( const String name) const

Returns the specified method.

◆ getMethods()

HashSet<IDLMethod> IDLInterface::getMethods ( ) const
noexcept

Returns the methods.

◆ hasMethod()

bool IDLInterface::hasMethod ( const String name) const
noexcept

Returns true if the method is available.

◆ isCompatible()

bool IDLInterface::isCompatible ( const IDLInterface interface) const
noexcept

Returns true if the interfaces are compatible.