📄 chain.cpp
字号:
/************************************************** Chain Source File ** (C) 1999-2002 The Botan Project **************************************************/#include <botan/chain.h>namespace Botan {/************************************************** Chain Constructor **************************************************/Chain::Chain(Filter* f1, Filter* f2, Filter* f3, Filter* f4) { if(f1) { attach(f1); set_owns(owns() + 1); } if(f2) { attach(f2); set_owns(owns() + 1); } if(f3) { attach(f3); set_owns(owns() + 1); } if(f4) { attach(f4); set_owns(owns() + 1); } }/************************************************** Chain Constructor **************************************************/Chain::Chain(Filter* filters[], u32bit count) { for(u32bit j = 0; j != count; j++) if(filters[j]) { attach(filters[j]); set_owns(owns() + 1); } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -