Skip to content
Snippets Groups Projects
Commit da0b1c66 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

isAuxiliary() added

parent c5175fe2
No related branches found
No related tags found
1 merge request!266Estimated frames
Pipeline #2890 passed
...@@ -74,6 +74,7 @@ class FrameBase : public NodeBase, public std::enable_shared_from_this<FrameBase ...@@ -74,6 +74,7 @@ class FrameBase : public NodeBase, public std::enable_shared_from_this<FrameBase
// get type // get type
bool isKey() const; bool isKey() const;
bool isAuxiliary() const;
bool isEstimated() const; bool isEstimated() const;
// set type // set type
...@@ -177,6 +178,11 @@ inline bool FrameBase::isKey() const ...@@ -177,6 +178,11 @@ inline bool FrameBase::isKey() const
return (type_ == KEY); return (type_ == KEY);
} }
inline bool FrameBase::isAuxiliary() const
{
return (type_ == AUXILIARY);
}
inline bool FrameBase::isEstimated() const inline bool FrameBase::isEstimated() const
{ {
return (type_ == KEY || type_ == AUXILIARY); return (type_ == KEY || type_ == AUXILIARY);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment