From da0b1c66f8850aa50b0fe7cc2b97bcb932b24907 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu>
Date: Tue, 30 Apr 2019 16:42:28 +0200
Subject: [PATCH] isAuxiliary() added

---
 include/base/frame/frame_base.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/base/frame/frame_base.h b/include/base/frame/frame_base.h
index fbe3914ab..cd178138f 100644
--- a/include/base/frame/frame_base.h
+++ b/include/base/frame/frame_base.h
@@ -74,6 +74,7 @@ class FrameBase : public NodeBase, public std::enable_shared_from_this<FrameBase
 
         // get type
         bool isKey() const;
+        bool isAuxiliary() const;
         bool isEstimated() const;
 
         // set type
@@ -177,6 +178,11 @@ inline bool FrameBase::isKey() const
     return (type_ == KEY);
 }
 
+inline bool FrameBase::isAuxiliary() const
+{
+    return (type_ == AUXILIARY);
+}
+
 inline bool FrameBase::isEstimated() const
 {
     return (type_ == KEY || type_ == AUXILIARY);
-- 
GitLab