mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
fix(devel): add missing 1.11 releases commits (#3976)
This commit is contained in:
committed by
GitHub
parent
3852a6b6c2
commit
6207b8fb56
@@ -119,6 +119,9 @@ public:
|
||||
bool isDeleted() const;
|
||||
/// Returns true iff the method has been deleted.
|
||||
|
||||
bool isStatic() const;
|
||||
/// Returns true iff the method is static.
|
||||
|
||||
int countParameters() const;
|
||||
/// Returns the number of parameters.
|
||||
|
||||
@@ -178,6 +181,12 @@ inline bool Function::isDeleted() const
|
||||
}
|
||||
|
||||
|
||||
inline bool Function::isStatic() const
|
||||
{
|
||||
return (flags() & FN_STATIC) != 0;
|
||||
}
|
||||
|
||||
|
||||
} } // namespace Poco::CppParser
|
||||
|
||||
|
||||
|
||||
@@ -57,6 +57,11 @@ public:
|
||||
///
|
||||
/// Example: a type const std::string& -> std::string, a type const std::string* returns std::string
|
||||
|
||||
bool isConst() const;
|
||||
/// Returns true iff the variable is const.
|
||||
|
||||
bool isStatic() const;
|
||||
/// Returns true iff the variable is static.
|
||||
|
||||
private:
|
||||
int _flags;
|
||||
@@ -80,6 +85,18 @@ inline bool Variable::isPointer() const
|
||||
}
|
||||
|
||||
|
||||
inline bool Variable::isConst() const
|
||||
{
|
||||
return (flags() & VAR_CONST) != 0;
|
||||
}
|
||||
|
||||
|
||||
inline bool Variable::isStatic() const
|
||||
{
|
||||
return (flags() & VAR_STATIC) != 0;
|
||||
}
|
||||
|
||||
|
||||
inline const std::string& Variable::declType() const
|
||||
{
|
||||
return _type;
|
||||
|
||||
Reference in New Issue
Block a user