29 lines
547 B
C++
29 lines
547 B
C++
//----------------------------------------------------------------------------
|
|
//
|
|
// Copyright (C) Intel Corporation, 2007 - 2008.
|
|
//
|
|
// File: Parser.h
|
|
//
|
|
// Contents: Parses a file.
|
|
// Treats lines starting with '#' as comments
|
|
//
|
|
// Notes:
|
|
//----------------------------------------------------------------------------
|
|
#ifndef PARSER_H
|
|
#define PARSER_H
|
|
|
|
#define PARSER_STATUS_FAILURE -1
|
|
#define PARSER_STATUS_SUCCESS 0
|
|
|
|
#define COMMENT_START_CHARACTER '#'
|
|
|
|
class Parser
|
|
{
|
|
public:
|
|
|
|
Parser() {}
|
|
virtual ~Parser() {}
|
|
|
|
};
|
|
|
|
#endif |