00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Joe Drew 00008 * Side Effects Software Inc 00009 * 123 Front Street West, Suite 1401 00010 * Toronto, Ontario 00011 * Canada M5J 2M2 00012 * 416-504-9876 00013 * 00014 * NAME: OP_NetworkBoxItemFlags.h (OP Library, C++) 00015 * 00016 * COMMENTS: 00017 * 00018 * This is the superclass of OP_Flags. It exists so that OP_NetworkBoxItems 00019 * can detect recursion when they're walking a tree of inputs and outputs. 00020 */ 00021 00022 #ifndef __OP_NetworkBoxItemFlags__ 00023 #define __OP_NetworkBoxItemFlags__ 00024 00025 #include "OP_API.h" 00026 00027 class OP_API OP_NetworkBoxItemFlags 00028 { 00029 public: 00030 bool getRecursion() const { return myRecursion; } 00031 void setRecursion(bool val) const { myRecursion = val; } 00032 00033 protected: 00034 friend class OP_NetworkBoxItem; 00035 friend class OP_NodeFlags; 00036 00037 OP_NetworkBoxItemFlags(); 00038 OP_NetworkBoxItemFlags(const OP_NetworkBoxItemFlags &src); 00039 00040 private: 00041 mutable bool myRecursion; 00042 }; 00043 00044 #endif 00045
1.5.9