Exemplo n.º 1
0
void Logger::info(std::string message) {
	if (!isInfoEnabled()) {
		return;
	}

	appendAll("INFO", message);
}
Exemplo n.º 2
0
void Logger::debug(std::string message) {
	if (!isDebugEnabled()) {
		return;
	}

	appendAll("DEBUG", message);
}
Exemplo n.º 3
0
void Logger::trace(std::string message) {
	if (!isTraceEnabled()) {
		return;
	}

	appendAll("TRACE", message);
}
Exemplo n.º 4
0
void Logger::error(std::string message) {
	if (!isErrorEnabled()) {
		return;
	}

	appendAll("ERROR", message);
}
Exemplo n.º 5
0
void Logger::warn(std::string message) {
	if (!isWarnEnabled()) {
		return;
	}

	appendAll("WARN", message);
}
Exemplo n.º 6
0
void SpatialList::appendQuery(vector<ObjectSpatial*>& result_vector, const BoundingObject& bounding_object, QueryType query_type) const {

	if (objectsVector.empty() || (boundingBox && !boundingBox->intersects(bounding_object)))
		return;

	if (query_type == SpatialContainer::NEARBY)
		appendAll(result_vector);
	else {
		for (unsigned int i = 0; i < objectsVector.size(); i++) {
			if (queryTypeFilter(objectsVector[i], bounding_object, query_type)) {
				result_vector.push_back(objectsVector[i]);
			}
		}
	}
}
Exemplo n.º 7
0
LibError::LibError (string what_str)
    : DsigException(what_str)
{
    appendAll();
}
Exemplo n.º 8
0
LibError::LibError ()
    : DsigException()
{
    appendAll();
}