strings.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "object.h"
#include "ref.h"

Go to the source code of this file.

Data Structures

class  zmm::StringBase
class  zmm::String

Namespaces

namespace  zmm

Defines

#define _(str)   zmm::String::refer(str)
#define MAX_INT_STRING_LENGTH   12
#define MAX_LONG_STRING_LENGTH   22
#define MAX_DOUBLE_STRING_LENGTH   24
#define MAX_LONG_LONG_STRING_LENGTH   24
#define MAX_INT64_T_STRING_LENGTH   24

Detailed Description

Definition in file strings.h.


Define Documentation

#define _ ( str   )     zmm::String::refer(str)

Definition at line 43 of file strings.h.

Referenced by AutoscanList::_add(), SQLStorage::_addUpdateObject(), SQLStorage::_autoscanChangePersistentFlag(), SQLStorage::_checkOverlappingAutoscans(), StringConverter::_convert(), SQLStorage::_findObjectByPath(), SQLStorage::_getAutoscanObjectID(), SQLStorage::_purgeEmptyContainers(), SQLStorage::_recursiveRemove(), ContentManager::_removeObject(), ContentManager::_rescanDirectory(), web::addObject::addActiveItem(), FallbackLayout::addAudio(), SQLStorage::addAutoscanDirectory(), web::addObject::addContainer(), ContentManager::addContainerChain(), zmm::IntArray::addCSV(), ContentManager::addFileInternal(), FallbackLayout::addImage(), web::addObject::addItem(), SQLStorage::addObject(), ContentManager::addRecursive(), CdsResourceManager::addResources(), CdsResourceManager::addResources_getUrlBase(), Timer::addTimerSubscriber(), WebRequestHandler::addUpdateIDs(), web::addObject::addUrl(), FallbackLayout::addVideo(), ContentManager::addVirtualItem(), WebRequestHandler::appendTask(), web::autoscan::autoscan2XML(), SQLStorage::browse(), BufferedIOHandler::BufferedIOHandler(), SQLStorage::buildContainerPath(), zmm::StringBuffer::c_str(), CachedURL::CachedURL(), CdsActiveItem::CdsActiveItem(), CdsContainer::CdsContainer(), CdsItem::CdsItem(), CdsItemExternalURL::CdsItemExternalURL(), CdsItemInternalURL::CdsItemInternalURL(), check_path_ex(), WebRequestHandler::check_request(), check_resolution(), ConfigManager::checkOptionString(), SQLStorage::checkRefID(), IOHandlerBufferHelper::close(), FileIOHandler::close(), FDIOHandler::close(), RExp::compile(), zmm::StringBuffer::concat(), ConfigManager::ConfigManager(), ConnectionManagerService::ConnectionManagerService(), ConfigManager::construct_path(), ContentDirectoryService::ContentDirectoryService(), ContentManager::convertObject(), copy_file(), create_request_handler(), create_web_request_handler(), ConfigManager::createAutoscanListFromNodeset(), SQLStorage::createContainer(), ConfigManager::createDefaultConfig(), MetadataHandler::createHandler(), Storage::createInstance(), CdsObject::createObject(), ContentManager::createObjectFromFile(), SQLStorage::createObjectFromRow(), SessionManager::createSession(), DBRHash< int >::DBRHash(), DBRHash< int >::debugGetAll(), CdsResource::decode(), StringConverter::f2i(), FallbackLayout::FallbackLayout(), find_in_path(), WebRequestHandler::get_info(), ServeRequestHandler::get_info(), FileRequestHandler::get_info(), get_jpeg_resolution(), SQLStorage::getAutoscanDirectory(), SQLStorage::getAutoscanDirectoryType(), SQLStorage::getAutoscanList(), ConfigOption::getAutoscanListOption(), getAVIFourCC(), ConfigOption::getBoolOption(), ConfigOption::getDictionaryOption(), XPath::getElement(), Storage::getInstance(), Singleton< SessionManager >::getInstance(), ConfigOption::getIntOption(), MetadataHandler::getMimeType(), SQLStorage::getMimeTypes(), SQLStorage::getNextID(), ConfigOption::getObjectDictionaryOption(), SQLStorage::getObjects(), ConfigOption::getOption(), ConfigManager::getOption(), getProtocol(), SQLStorage::getServiceObjectIDs(), ConfigOption::getStringArrayOption(), XPath::getText(), getTimespecNow(), Session::getUIUpdateIDs(), CachedURL::getURL(), mxml::XML2JSON::getValue(), CdsItem::getVirtualPath(), CdsContainer::getVirtualPath(), mxml::XML2JSON::handleElement(), WebRequestHandler::handleUpdateIDs(), Filesystem::have(), http_redirect_to(), StringConverter::i2f(), SQLStorage::incrementUpdateIDs(), mxml::Element::indent(), SQLStorage::init(), Server::init(), ContentManager::init(), IOHandlerBufferHelper::IOHandlerBufferHelper(), IOHandlerChainer::IOHandlerChainer(), SQLStorage::isAutoscanDirectoryRecursive(), isTheora(), ConfigManager::load(), ContentManager::loadAccounting(), SQLStorage::loadLastID(), SQLStorage::loadObject(), StringConverter::m2i(), main(), ConfigManager::map_from_to(), WebRequestHandler::mapAutoscanType(), CdsObject::mapObjectType(), AutoscanDirectory::mapScanlevel(), AutoscanDirectory::mapScanmode(), ConfigManager::migrate(), mt_strerror(), normalizePath(), WebRequestHandler::open(), ServeRequestHandler::open(), FileRequestHandler::open(), FileIOHandler::open(), FDIOHandler::open(), parseCommandLine(), ConfigManager::prepare_udn(), web::autoscan::process(), web::tasks::process(), web::remove::process(), web::items::process(), web::files::process(), web::edit_save::process(), web::edit_load::process(), web::directories::process(), web::containers::process(), web::auth::process(), web::addObject::process(), web::add::process(), web::action::process(), ConnectionManagerService::process_subscription_request(), ContentDirectoryService::process_subscription_request(), FallbackLayout::processCdsObject(), ProcessExecutor::ProcessExecutor(), DBRHash< int >::put(), read_text_file(), Filesystem::readDirectory(), CdsObject::remapObjectType(), AutoscanDirectory::remapScanlevel(), AutoscanDirectory::remapScanmode(), DBRHash< int >::remove(), ContentManager::removeAutoscanDirectory(), SQLStorage::removeObject(), ContentManager::removeObject(), SQLStorage::removeObjects(), Timer::removeTimerSubscriber(), ConfigManager::renderExtendedRuntimeSection(), CdsResourceManager::renderExtension(), renderProtocolInfo(), WebRequestHandler::renderXMLHeader(), ContentManager::rescanDirectory(), run_simple_process(), ConfigManager::save_text(), DHashBase< KT, struct dbo_hash_slot< KT, VT > >::search(), MemIOHandler::seek(), FileIOHandler::seek(), FDIOHandler::seek(), set_jpeg_resolution_resource(), ContentManager::setAutoscanDirectory(), zmm::StringBuffer::setCharAt(), AutoscanDirectory::setLocation(), MetadataHandler::setMetadata(), mxml::Element::setText(), Server::shutdown(), split_path(), split_string(), RequestHandler::split_url(), string_ok_ex(), StringConverter::StringConverter(), Storage::stripAndUnescapeVirtualContainerFromPath(), ConnectionManagerService::subscription_update(), ContentDirectoryService::subscription_update(), zmm::String::substring(), zmm::IntArray::toCSV(), zmm::StringBuffer::toString(), ConfigManager::treat_as(), Timer::triggerWait(), trim_string(), SQLStorage::updateAutoscanDirectory(), SQLStorage::updateAutoscanPersistentList(), SQLStorage::updateObject(), ContentManager::updateObject(), ContentDirectoryService::upnp_action_Browse(), ConnectionManagerService::upnp_action_GetCurrentConnectionIDs(), ConnectionManagerService::upnp_action_GetProtocolInfo(), ContentDirectoryService::upnp_action_GetSearchCapabilities(), ContentDirectoryService::upnp_action_GetSortCapabilities(), ContentDirectoryService::upnp_action_GetSystemUpdateID(), Server::upnp_actions(), Server::upnp_init(), Server::upnp_subscriptions(), UpnpXML_CreateEventPropertySet(), UpnpXML_CreateResponse(), UpnpXML_DIDLRenderObject(), UpnpXML_DIDLRenderResource(), UpnpXML_DIDLUpdateObject(), UpnpXML_RenderDeviceDescription(), ConfigManager::validate(), CdsItemInternalURL::validate(), CdsItemExternalURL::validate(), CdsActiveItem::validate(), CdsItem::validate(), CdsObject::validate(), write_text_file(), ConfigManager::writeBookmark(), and ConfigManager::~ConfigManager().

#define MAX_DOUBLE_STRING_LENGTH   24

Definition at line 51 of file strings.h.

Referenced by zmm::String::from().

#define MAX_INT64_T_STRING_LENGTH   24

Definition at line 55 of file strings.h.

#define MAX_INT_STRING_LENGTH   12

Definition at line 46 of file strings.h.

Referenced by zmm::String::from(), and zmm::StringBuffer::operator<<().

#define MAX_LONG_LONG_STRING_LENGTH   24

Definition at line 53 of file strings.h.

Referenced by zmm::String::from().

#define MAX_LONG_STRING_LENGTH   22

Definition at line 49 of file strings.h.

Referenced by zmm::String::from().


Generated on Fri Mar 26 20:16:55 2010 for MediaTomb by  doxygen 1.6.1