Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Clear.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Vector_Clear_h
00002 #define Impala_Core_Vector_Clear_h
00003 
00004 #include "Core/Vector/VectorSet.h"
00005 #include "Core/Array/SetVal.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Vector
00012 {
00013 
00014 
00015 template <class ArrayT>
00016 inline void
00017 Clear(VectorSet<ArrayT>* vs)
00018 {
00019     ArrayT* storage = vs->GetStorage();
00020     Array::SetVal(storage, storage, 0);
00021 }
00022 
00023 } // namespace Vector
00024 } // namespace Core
00025 } // namespace Impala
00026 
00027 #endif

Generated on Fri Mar 19 09:31:28 2010 for ImpalaSrc by  doxygen 1.5.1