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 * Side Effects Software Inc. 00008 * 477 Richmond Street West, Suite 1001 00009 * Toronto, Ontario 00010 * Canada M5V 3E7 00011 * 416-504-9876 00012 */ 00013 00014 #ifndef __DOP_Utils_h__ 00015 #define __DOP_Utils_h__ 00016 00017 #include "DOP_API.h" 00018 #include "DOP_InOutInfo.h" 00019 00020 class DOP_Node; 00021 00022 DOP_API bool 00023 DOPfirstInputIsOfType(const DOP_Node *node, 00024 DOP_InOutDataType checktype, bool defaultreturn); 00025 00026 DOP_API DOP_InOutDataType 00027 DOPgetFirstInputType(const DOP_Node *node, 00028 DOP_InOutDataType defaultreturn); 00029 00030 DOP_API bool 00031 DOPfirstConnectedInputIsOfType(const DOP_Node *node, 00032 DOP_InOutDataType checktype, bool defaultreturn); 00033 00034 DOP_API DOP_InOutDataType 00035 DOPgetFirstConnectedInputType(const DOP_Node *node, 00036 DOP_InOutDataType defaultreturn); 00037 00038 DOP_API DOP_InOutDataType 00039 DOPgetFirstConnectedSpecificInputType(const DOP_Node *node); 00040 00041 #endif 00042
1.5.9