File: IOUtils.hpp

package info (click to toggle)
exempi 2.6.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,780 kB
  • sloc: cpp: 79,791; sh: 4,606; ansic: 538; makefile: 383
file content (31 lines) | stat: -rw-r--r-- 1,305 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __IOUtils_hpp__
#define __IOUtils_hpp__	1

// =================================================================================================
// Copyright 2013 Adobe
// All Rights Reserved.
//
// NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it. 
// =================================================================================================


#include "public/include/XMP_Environment.h"	
#include "public/include/XMP_Const.h"

#include "source/XMP_LibUtils.hpp"

//Helper class for common IO function
class IOUtils
{
public:
	// Returns the list of folders or files matching particular string format in the given Directory
	static void GetMatchingChildren ( XMP_StringVector & matchingChildList, const XMP_VarString & rootPath,
		const XMP_StringVector & regExStringVec, XMP_Bool includeFolders, XMP_Bool includeFiles, XMP_Bool prefixRootPath );

	// Returns the list of folders or files matching particular string format in the given Directory
	static void GetMatchingChildren ( XMP_StringVector & matchingChildList, const XMP_VarString & rootPath,
		const XMP_VarString & regExpStr, XMP_Bool includeFolders, XMP_Bool includeFiles, XMP_Bool prefixRootPath );
};

#endif	// __IOUtils_hpp__