# Cinder

# include/cinder/DataTarget.h File Reference

Go to the source code of this file.

## Classes
class | cinder::DataTarget
class | cinder::DataTargetPath
class | cinder::DataTargetStream
## Namespaces
namespace | cinder
## Typedefs
typedef shared_ptr< class DataTarget > | cinder::DataTargetRef
typedef shared_ptr< class DataTargetPath > | cinder::DataTargetPathRef
typedef shared_ptr< class DataTargetStream > | cinder::DataTargetStreamRef
## Functions
DataTargetPathRef | cinder::writeFile (const std::string &path, bool createParents=true)
| Returns a DataTarget to file path path, and optionally creates any necessary directories when createParents is `true`.