splr.h #1

  • //
  • guest/
  • dannyz_snps/
  • p4/
  • 2016-1/
  • support/
  • splr.h
  • View
  • Commits
  • Open Download .zip Download (721 B)
/*
 * Copyright 1995, 1996 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

/*
 * StrPtrLineReader: utility class for manipulating a string which
 *                   contains multiple "lines", separated by embedded
 *                   linefeed characters. Wins no awards for efficiency,
 *                   but is intended to be used by command line aliasing,
 *                   which is typically used with small string buffers.
 */
class StrPtrLineReader
{

    public:
	                StrPtrLineReader( const StrPtr *buf );
	                ~StrPtrLineReader();

	int		GetLine( StrBuf *line );

	int		CountLines();

    private:

	const char *	start;
} ;
# Change User Description Committed
#1 21443 dannyz_snps "Forking branch 2016-1 of perforce_software-p4 to dannyz_snps-p4."
//guest/perforce_software/p4/2016-1/support/splr.h
#1 19472 Liz Lam Initial add of the 2016.1 p4/p4api source code.