2015-10-16 00:33:37 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.6" / >
< title > DASH Media Packaging SDK: media/file/file.h Source File< / title >
< link href = "../../tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "../../jquery.js" > < / script >
< script type = "text/javascript" src = "../../dynsections.js" > < / script >
< link href = "../../search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "../../search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "../../doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > DASH Media Packaging SDK
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "../../index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "../../namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li > < a href = "../../annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "../../files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "../../search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "../../files.html" > < span > File  List< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2015-10-19 19:22:31 +00:00
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Namespaces< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < / div >
2015-10-16 00:33:37 +00:00
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "../../dir_39dc0668bd5a501998f94e8b4e546c71.html" > media< / a > < / li > < li class = "navelem" > < a class = "el" href = "../../dir_279fd47bebb21302c25cfb685e84c359.html" > file< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > file.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "comment" > // Copyright 2014 Google Inc. All rights reserved.< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "comment" > // Use of this source code is governed by a BSD-style< / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < span class = "comment" > // license that can be found in the LICENSE file or at< / span > < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "comment" > // https://developers.google.com/open-source/licenses/bsd< / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "preprocessor" > #ifndef PACKAGER_FILE_FILE_H_< / span > < / div >
2015-10-19 17:27:30 +00:00
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define PACKAGER_FILE_FILE_H_< / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < span class = "preprocessor" > < / span > < / div >
2015-10-16 00:33:37 +00:00
< div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > 10< / span >   < span class = "preprocessor" > #include < stdint.h> < / span > < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "preprocessor" > #include < string> < / span > < / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "preprocessor" > #include " packager/base/macros.h" < / span > < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < span class = "keyword" > namespace < / span > edash_packager {< / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < span class = "keyword" > namespace < / span > media {< / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   < span class = "keyword" > extern< / span > < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * kLocalFilePrefix;< / div >
2015-12-15 20:37:40 +00:00
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < span class = "keyword" > const< / span > int64_t kWholeFile = -1;< / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > < a class = "line" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > 23< / a > < / span >   < span class = "keyword" > class < / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > {< / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < span class = "keyword" > static< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > * < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a0933ccd7df76fcf8fbcfe12c15dbf6c5" > Open< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad736ca7bb8da1cec749f51275a87872c" > file_name< / a > , < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * mode);< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "keyword" > static< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > * < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a47194a7cd303640c2a8b689d18ef9701" > OpenWithNoBuffering< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * file_name, < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * mode);< / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   < span class = "keyword" > static< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a7e0fcd3c439e810e8e17baf32dcc75af" > Delete< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * file_name);< / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > 45< / span >   < / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a42290da768cd34316d2f4c5fc3976b38" > Close< / a > () = 0;< / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   < / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   < span class = "keyword" > virtual< / span > int64_t < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a663547ead01b035117429c0bc757aab7" > Read< / a > (< span class = "keywordtype" > void< / span > * buffer, uint64_t length) = 0;< / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / span >   < / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > 65< / span >   < span class = "keyword" > virtual< / span > int64_t < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad82196743ff131dd81e8f806735eb818" > Write< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > void< / span > * buffer, uint64_t length) = 0;< / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   < / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   < span class = "keyword" > virtual< / span > int64_t < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a1bb2a295cb69b3e51b9cc14969848632" > Size< / a > () = 0;< / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   < / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ace9275a79c572614ee5d068a04c76392" > Flush< / a > () = 0;< / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   < / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a28da55565be854b866bf223aa4232042" > Seek< / a > (uint64_t position) = 0;< / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   < / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > 87< / span >   < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a19409dd7d63022f34aee85640460428e" > Tell< / a > (uint64_t* position) = 0;< / div >
< div class = "line" > < a name = "l00088" > < / a > < span class = "lineno" > 88< / span >   < / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > < a class = "line" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad736ca7bb8da1cec749f51275a87872c" > 90< / a > < / span >   < span class = "keyword" > const< / span > std::string& < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad736ca7bb8da1cec749f51275a87872c" > file_name< / a > ()< span class = "keyword" > const < / span > { < span class = "keywordflow" > return< / span > file_name_; }< / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   < / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > 92< / span >   < span class = "comment" > // ************************************************************< / span > < / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > 93< / span >   < span class = "comment" > // * Static Methods: File-on-the-filesystem status< / span > < / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   < span class = "comment" > // ************************************************************< / span > < / div >
< div class = "line" > < a name = "l00095" > < / a > < span class = "lineno" > 95< / span >   < / div >
< div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   < span class = "keyword" > static< / span > int64_t < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a239a76adb5ff5c5340c58f96d7034ec6" > GetFileSize< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * file_name);< / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < / div >
< div class = "line" > < a name = "l00104" > < / a > < span class = "lineno" > 104< / span >   < span class = "keyword" > static< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a9a4f45dcab338be2b6843e0de87ce8f1" > ReadFileToString< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * file_name, std::string* contents);< / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > 105< / span >   < / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   < span class = "keyword" > static< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a79b8b288ff78288bdbb8c62d5dd858e1" > Copy< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * from_file_name, < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * to_file_name);< / div >
< div class = "line" > < a name = "l00113" > < / a > < span class = "lineno" > 113< / span >   < / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   < span class = "keyword" > static< / span > int64_t < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad002a97c623840303bf6934055813196" > CopyFile< / a > (< a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > * source, < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > * destination);< / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / span >   < / div >
< div class = "line" > < a name = "l00125" > < / a > < span class = "lineno" > 125< / span >   < span class = "keyword" > static< / span > int64_t < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad002a97c623840303bf6934055813196" > CopyFile< / a > (< a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > * source, < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > * destination, int64_t max_copy);< / div >
< div class = "line" > < a name = "l00126" > < / a > < span class = "lineno" > 126< / span >   < / div >
< div class = "line" > < a name = "l00127" > < / a > < span class = "lineno" > 127< / span >   < span class = "keyword" > protected< / span > :< / div >
< div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   < span class = "keyword" > explicit< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > (< span class = "keyword" > const< / span > std::string& file_name) : file_name_(file_name) {}< / div >
< div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > < a class = "line" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad1a8b1df388b90def135647a0136b0f7" > 131< / a > < / span >   < span class = "keyword" > virtual< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad1a8b1df388b90def135647a0136b0f7" > ~File< / a > () {}< / div >
< div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > 132< / span >   < / div >
< div class = "line" > < a name = "l00134" > < / a > < span class = "lineno" > 134< / span >   < span class = "keyword" > virtual< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a0933ccd7df76fcf8fbcfe12c15dbf6c5" > Open< / a > () = 0;< / div >
< div class = "line" > < a name = "l00135" > < / a > < span class = "lineno" > 135< / span >   < / div >
< div class = "line" > < a name = "l00136" > < / a > < span class = "lineno" > 136< / span >   < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a name = "l00137" > < / a > < span class = "lineno" > 137< / span >   < span class = "keyword" > friend< / span > < span class = "keyword" > class < / span > < a class = "code" href = "../../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html" > ThreadedIoFile< / a > ;< / div >
< div class = "line" > < a name = "l00138" > < / a > < span class = "lineno" > 138< / span >   < / div >
< div class = "line" > < a name = "l00139" > < / a > < span class = "lineno" > 139< / span >   < span class = "comment" > // This is a file factory method, it creates a proper file, e.g.< / span > < / div >
< div class = "line" > < a name = "l00140" > < / a > < span class = "lineno" > 140< / span >   < span class = "comment" > // LocalFile, MemFile based on prefix.< / span > < / div >
< div class = "line" > < a name = "l00141" > < / a > < span class = "lineno" > 141< / span >   < span class = "keyword" > static< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > * Create(< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * file_name, < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * mode);< / div >
< div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   < / div >
< div class = "line" > < a name = "l00143" > < / a > < span class = "lineno" > 143< / span >   < span class = "keyword" > static< / span > < a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > * CreateInternalFile(< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * file_name, < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > * mode);< / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   < / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   std::string file_name_;< / div >
< div class = "line" > < a name = "l00146" > < / a > < span class = "lineno" > 146< / span >   DISALLOW_COPY_AND_ASSIGN(< a class = "code" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > File< / a > );< / div >
< div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > 147< / span >   };< / div >
< div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > 148< / span >   < / div >
< div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   } < span class = "comment" > // namespace media< / span > < / div >
< div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / span >   } < span class = "comment" > // namespace edash_packager< / span > < / div >
< div class = "line" > < a name = "l00151" > < / a > < span class = "lineno" > 151< / span >   < / div >
< div class = "line" > < a name = "l00152" > < / a > < span class = "lineno" > 152< / span >   < span class = "preprocessor" > #endif // PACKAGER_FILE_FILE_H_< / span > < / div >
2016-01-04 23:24:50 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a9a4f45dcab338be2b6843e0de87ce8f1" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a9a4f45dcab338be2b6843e0de87ce8f1" > edash_packager::media::File::ReadFileToString< / a > < / div > < div class = "ttdeci" > static bool ReadFileToString(const char *file_name, std::string *contents)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d5/dfc/file_8cc_source.html#l00184" > file.cc:184< / a > < / div > < / div >
2015-10-16 00:33:37 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a42290da768cd34316d2f4c5fc3976b38" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a42290da768cd34316d2f4c5fc3976b38" > edash_packager::media::File::Close< / a > < / div > < div class = "ttdeci" > virtual bool Close()=0< / div > < / div >
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a28da55565be854b866bf223aa4232042" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a28da55565be854b866bf223aa4232042" > edash_packager::media::File::Seek< / a > < / div > < div class = "ttdeci" > virtual bool Seek(uint64_t position)=0< / div > < / div >
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a663547ead01b035117429c0bc757aab7" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a663547ead01b035117429c0bc757aab7" > edash_packager::media::File::Read< / a > < / div > < div class = "ttdeci" > virtual int64_t Read(void *buffer, uint64_t length)=0< / div > < / div >
2016-01-04 23:24:50 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a7e0fcd3c439e810e8e17baf32dcc75af" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a7e0fcd3c439e810e8e17baf32dcc75af" > edash_packager::media::File::Delete< / a > < / div > < div class = "ttdeci" > static bool Delete(const char *file_name)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d5/dfc/file_8cc_source.html#l00162" > file.cc:162< / a > < / div > < / div >
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_ad002a97c623840303bf6934055813196" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad002a97c623840303bf6934055813196" > edash_packager::media::File::CopyFile< / a > < / div > < div class = "ttdeci" > static int64_t CopyFile(File *source, File *destination)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d5/dfc/file_8cc_source.html#l00232" > file.cc:232< / a > < / div > < / div >
2015-12-15 20:37:40 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > edash_packager::media::File< / a > < / div > < div class = "ttdoc" > Define an abstract file interface. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d2/d4d/file_8h_source.html#l00023" > file.h:23< / a > < / div > < / div >
2015-10-16 00:33:37 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a0933ccd7df76fcf8fbcfe12c15dbf6c5" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a0933ccd7df76fcf8fbcfe12c15dbf6c5" > edash_packager::media::File::Open< / a > < / div > < div class = "ttdeci" > virtual bool Open()=0< / div > < div class = "ttdoc" > Internal open. Should not be used directly. < / div > < / div >
2015-12-15 20:37:40 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_ad736ca7bb8da1cec749f51275a87872c" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad736ca7bb8da1cec749f51275a87872c" > edash_packager::media::File::file_name< / a > < / div > < div class = "ttdeci" > const std::string & file_name() const < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d2/d4d/file_8h_source.html#l00090" > file.h:90< / a > < / div > < / div >
2015-10-16 00:33:37 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a19409dd7d63022f34aee85640460428e" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a19409dd7d63022f34aee85640460428e" > edash_packager::media::File::Tell< / a > < / div > < div class = "ttdeci" > virtual bool Tell(uint64_t *position)=0< / div > < / div >
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a1bb2a295cb69b3e51b9cc14969848632" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a1bb2a295cb69b3e51b9cc14969848632" > edash_packager::media::File::Size< / a > < / div > < div class = "ttdeci" > virtual int64_t Size()=0< / div > < / div >
2015-12-15 20:37:40 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_ad1a8b1df388b90def135647a0136b0f7" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad1a8b1df388b90def135647a0136b0f7" > edash_packager::media::File::~File< / a > < / div > < div class = "ttdeci" > virtual ~File()< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d2/d4d/file_8h_source.html#l00131" > file.h:131< / a > < / div > < / div >
2016-01-09 01:03:21 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1ThreadedIoFile_html" > < div class = "ttname" > < a href = "../../dc/dfa/classedash__packager_1_1media_1_1ThreadedIoFile.html" > edash_packager::media::ThreadedIoFile< / a > < / div > < div class = "ttdoc" > Declaration of class which implements a thread-safe circular buffer. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d2/da6/threaded__io__file_8h_source.html#l00021" > threaded_io_file.h:21< / a > < / div > < / div >
2015-10-16 00:33:37 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_ace9275a79c572614ee5d068a04c76392" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ace9275a79c572614ee5d068a04c76392" > edash_packager::media::File::Flush< / a > < / div > < div class = "ttdeci" > virtual bool Flush()=0< / div > < / div >
2016-01-04 23:24:50 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a79b8b288ff78288bdbb8c62d5dd858e1" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a79b8b288ff78288bdbb8c62d5dd858e1" > edash_packager::media::File::Copy< / a > < / div > < div class = "ttdeci" > static bool Copy(const char *from_file_name, const char *to_file_name)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d5/dfc/file_8cc_source.html#l00202" > file.cc:202< / a > < / div > < / div >
2015-10-16 00:33:37 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_ad82196743ff131dd81e8f806735eb818" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad82196743ff131dd81e8f806735eb818" > edash_packager::media::File::Write< / a > < / div > < div class = "ttdeci" > virtual int64_t Write(const void *buffer, uint64_t length)=0< / div > < / div >
2016-01-04 23:24:50 +00:00
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a239a76adb5ff5c5340c58f96d7034ec6" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a239a76adb5ff5c5340c58f96d7034ec6" > edash_packager::media::File::GetFileSize< / a > < / div > < div class = "ttdeci" > static int64_t GetFileSize(const char *file_name)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d5/dfc/file_8cc_source.html#l00175" > file.cc:175< / a > < / div > < / div >
< div class = "ttc" id = "classedash__packager_1_1media_1_1File_html_a47194a7cd303640c2a8b689d18ef9701" > < div class = "ttname" > < a href = "../../de/d19/classedash__packager_1_1media_1_1File.html#a47194a7cd303640c2a8b689d18ef9701" > edash_packager::media::File::OpenWithNoBuffering< / a > < / div > < div class = "ttdeci" > static File * OpenWithNoBuffering(const char *file_name, const char *mode)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d5/dfc/file_8cc_source.html#l00151" > file.cc:151< / a > < / div > < / div >
2015-10-16 00:33:37 +00:00
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2016-03-21 19:14:00 +00:00
Generated on Mon Mar 21 2016 19:13:41 for DASH Media Packaging SDK by   < a href = "http://www.doxygen.org/index.html" >
2015-10-16 00:33:37 +00:00
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
< / a > 1.8.6
< / small > < / address >
< / body >
< / html >