JSBSim Flight Dynamics Model 1.3.3 (16 Oct 2026)
An Open Source Flight Dynamics and Control Software Library in C++
Loading...
Searching...
No Matches
WrongNumberOfArguments Class Reference

Detailed Description

Definition at line 57 of file FGFunction.cpp.

+ Inheritance diagram for WrongNumberOfArguments:
+ Collaboration diagram for WrongNumberOfArguments:

Public Member Functions

 WrongNumberOfArguments (const vector< FGParameter_ptr > &p, Element *el)
 
FGParameter * FirstParameter (void) const
 
const Element * GetElement (void) const
 
size_t NumberOfArguments (void) const
 
- Public Member Functions inherited from XMLLogException
 XMLLogException (Element *el)
 
 XMLLogException (LogException &exception, Element *el)
 This constructor can promote a LogException to an XMLLogException by adding the file location information to the exception.
 
- Public Member Functions inherited from LogException
 LogException (LogException &other)
 
const char * what () const noexcept override
 
- Public Member Functions inherited from FGLogging
 FGLogging (LogLevel level)
 
void Flush (void)
 
FGLogging & operator<< (const char *message)
 
FGLogging & operator<< (const FGColumnVector3 &vec)
 
FGLogging & operator<< (const SGPath &path)
 
FGLogging & operator<< (const std::string &message)
 
FGLogging & operator<< (int value)
 
FGLogging & operator<< (LogFormat format)
 
FGLogging & operator<< (setprecision_t value)
 
FGLogging & operator<< (setw_t value)
 
FGLogging & operator<< (std::ios_base &(*manipulator)(std::ios_base &))
 
FGLogging & operator<< (std::ostream &(*manipulator)(std::ostream &))
 
template<typename T , typename = std::enable_if_t<std::is_arithmetic<T>::value>>
FGLogging & operator<< (T value)
 
std::streambuf * rdbuf ()
 

Additional Inherited Members

- Protected Member Functions inherited from FGLogging
 FGLogging (FGLogger_ptr l)
 
- Protected Attributes inherited from FGLogging
std::ostringstream buffer
 
FGLogger_ptr logger
 

Constructor & Destructor Documentation

◆ WrongNumberOfArguments()

WrongNumberOfArguments ( const vector< FGParameter_ptr > &  p,
Element *  el 
)
inline

Definition at line 60 of file FGFunction.cpp.

61 : XMLLogException(el), Parameters(p), element(el) {}

Member Function Documentation

◆ FirstParameter()

FGParameter * FirstParameter ( void  ) const
inline

Definition at line 63 of file FGFunction.cpp.

63{ return *(Parameters.cbegin()); }

◆ GetElement()

const Element * GetElement ( void  ) const
inline

Definition at line 64 of file FGFunction.cpp.

64{ return element; }

◆ NumberOfArguments()

size_t NumberOfArguments ( void  ) const
inline

Definition at line 62 of file FGFunction.cpp.

62{ return Parameters.size(); }

The documentation for this class was generated from the following file: