NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | ERROR_MESSAGE(s) ERR_POST(ncbi::Error << "struct_util: " << s << '!') |
#define | WARNING_MESSAGE(s) ERR_POST(ncbi::Warning << "struct_util: " << s) |
#define | INFO_MESSAGE(s) ERR_POST(ncbi::Info << "struct_util: " << s) |
#define | TRACE_MESSAGE(s) ERR_POST(ncbi::Trace << "struct_util: " << s) |
#define | THROW_MESSAGE(str) throw ncbi::CException(DIAG_COMPILE_INFO, NULL, ncbi::CException::eUnknown, (str)) |
#define | DELETE_ALL_AND_CLEAR(container, ContainerType) |
Functions | |
template<class T > | |
void | VectorRemoveElements (std::vector< T > &v, const std::vector< bool > &remove, unsigned int nToRemove) |
#define DELETE_ALL_AND_CLEAR | ( | container, | |
ContainerType | |||
) |
Definition at line 82 of file su_private.hpp.
#define ERROR_MESSAGE | ( | s | ) | ERR_POST(ncbi::Error << "struct_util: " << s << '!') |
Definition at line 43 of file su_private.hpp.
#define INFO_MESSAGE | ( | s | ) | ERR_POST(ncbi::Info << "struct_util: " << s) |
Definition at line 45 of file su_private.hpp.
#define THROW_MESSAGE | ( | str | ) | throw ncbi::CException(DIAG_COMPILE_INFO, NULL, ncbi::CException::eUnknown, (str)) |
Definition at line 48 of file su_private.hpp.
#define TRACE_MESSAGE | ( | s | ) | ERR_POST(ncbi::Trace << "struct_util: " << s) |
Definition at line 46 of file su_private.hpp.
#define WARNING_MESSAGE | ( | s | ) | ERR_POST(ncbi::Warning << "struct_util: " << s) |
Definition at line 44 of file su_private.hpp.
void VectorRemoveElements | ( | std::vector< T > & | v, |
const std::vector< bool > & | remove, | ||
unsigned int | nToRemove | ||
) |
Definition at line 53 of file su_private.hpp.
References copy(), ERROR_MESSAGE, i, and remove().
Referenced by BlockMultipleAlignment::DeleteRow(), UngappedAlignedBlock::DeleteRows(), UnalignedBlock::DeleteRows(), BlockMultipleAlignment::ExtractRows(), SequenceDisplay::ProximitySort(), SequenceDisplay::RemoveBlockBoundaryRows(), and SequenceDisplay::RowsRemoved().