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 >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > < a class = "line" href = "../../de/d19/classedash__packager_1_1media_1_1File.html" > 22< / 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 = "l00023" > < / a > < span class = "lineno" > 23< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / 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 = "l00031" > < / a > < span class = "lineno" > 31< / span >   < / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / 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 = "l00039" > < / a > < span class = "lineno" > 39< / span >   < / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / 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 = "l00044" > < / a > < span class = "lineno" > 44< / span >   < / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / 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 = "l00051" > < / a > < span class = "lineno" > 51< / span >   < / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / 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 = "l00059" > < / a > < span class = "lineno" > 59< / span >   < / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > 64< / 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 = "l00065" > < / a > < span class = "lineno" > 65< / span >   < / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / 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 = "l00069" > < / a > < span class = "lineno" > 69< / span >   < / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / 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 = "l00076" > < / a > < span class = "lineno" > 76< / span >   < / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > 80< / 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 = "l00081" > < / a > < span class = "lineno" > 81< / span >   < / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / 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 = "l00087" > < / a > < span class = "lineno" > 87< / span >   < / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > < a class = "line" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad736ca7bb8da1cec749f51275a87872c" > 89< / 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 = "l00090" > < / a > < span class = "lineno" > 90< / span >   < / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   < span class = "comment" > // ************************************************************< / span > < / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > 92< / span >   < span class = "comment" > // * Static Methods: File-on-the-filesystem status< / span > < / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > 93< / span >   < span class = "comment" > // ************************************************************< / span > < / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   < / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / 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 = "l00098" > < / a > < span class = "lineno" > 98< / span >   < / div >
< div class = "line" > < a name = "l00103" > < / a > < span class = "lineno" > 103< / 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 = "l00104" > < / a > < span class = "lineno" > 104< / span >   < / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > 105< / span >   < span class = "keyword" > protected< / span > :< / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / 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 = "l00109" > < / a > < span class = "lineno" > < a class = "line" href = "../../de/d19/classedash__packager_1_1media_1_1File.html#ad1a8b1df388b90def135647a0136b0f7" > 109< / 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 = "l00110" > < / a > < span class = "lineno" > 110< / span >   < / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / 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 = "l00113" > < / a > < span class = "lineno" > 113< / span >   < / div >
< div class = "line" > < a name = "l00114" > < / a > < span class = "lineno" > 114< / span >   < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a name = "l00115" > < / a > < span class = "lineno" > 115< / 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 = "l00116" > < / a > < span class = "lineno" > 116< / span >   < / div >
< div class = "line" > < a name = "l00117" > < / a > < span class = "lineno" > 117< / span >   < span class = "comment" > // This is a file factory method, it creates a proper file, e.g.< / span > < / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   < span class = "comment" > // LocalFile, MemFile based on prefix.< / span > < / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / 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 = "l00120" > < / a > < span class = "lineno" > 120< / span >   < / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / 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 = "l00122" > < / a > < span class = "lineno" > 122< / span >   < / div >
< div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / span >   std::string file_name_;< / div >
< div class = "line" > < a name = "l00124" > < / a > < span class = "lineno" > 124< / 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 = "l00125" > < / a > < span class = "lineno" > 125< / span >   };< / 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 = "comment" > // namespace media< / span > < / div >
< div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   } < span class = "comment" > // namespace edash_packager< / span > < / div >
< div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   < / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < span class = "preprocessor" > #endif // PACKAGER_FILE_FILE_H_< / span > < / div >
< 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#l00160" > file.cc:160< / a > < / div > < / div >
< 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 >
< 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#l00138" > file.cc:138< / a > < / div > < / div >
< 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#l00022" > file.h:22< / a > < / div > < / div >
< 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 >
< 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#l00089" > file.h:89< / a > < / div > < / div >
< 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 >
< 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#l00109" > file.h:109< / a > < / div > < / div >
2015-10-20 16:47:33 +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#l00023" > threaded_io_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_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 >
< 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 >
< 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#l00151" > file.cc:151< / 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#l00127" > file.cc:127< / a > < / div > < / div >
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2015-10-22 18:48:50 +00:00
Generated on Thu Oct 22 2015 18:48:45 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 >