(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/*! \file AtmosSyncChannel_Mixer.h
+/*! \file DCData_Sequence_Parser.cpp
\version $Id$
\brief AS-DCP library, DCinema data seqence reader implementation
*/
}
//
- Result_t InitFromDirectory(const char* path)
+ Result_t InitFromDirectory(const std::string& path)
{
char next_file[Kumu::MaxFilePath];
Kumu::DirScanner Scanner;
Close();
}
- Result_t OpenRead(const char* filename);
+ Result_t OpenRead(const std::string& filename);
Result_t OpenRead(const std::list<std::string>& file_list);
void Close() {}
//
ASDCP::Result_t
-ASDCP::DCData::SequenceParser::h__SequenceParser::OpenRead(const char* filename)
+ASDCP::DCData::SequenceParser::h__SequenceParser::OpenRead(const std::string& filename)
{
- ASDCP_TEST_NULL_STR(filename);
-
Result_t result = m_FileList.InitFromDirectory(filename);
if ( ASDCP_SUCCESS(result) )
// Opens the stream for reading, parses enough data to provide a complete
// set of stream metadata for the MXFWriter below.
ASDCP::Result_t
-ASDCP::DCData::SequenceParser::OpenRead(const char* filename) const
+ASDCP::DCData::SequenceParser::OpenRead(const std::string& filename) const
{
const_cast<ASDCP::DCData::SequenceParser*>(this)->m_Parser = new h__SequenceParser;