mapstring.h #1

  • //
  • guest/
  • perforce_software/
  • p4/
  • 2014_1/
  • dbsupp/
  • mapstring.h
  • View
  • Commits
  • Open Download .zip Download (823 B)
/*
 * Copyright 1995, 1996 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

/*
 * Mapstrings.h - mapping table intial substrings
 *
 * Public Classes:
 *
 * 	MapStrings - probe strings for fast mapping
 *
 * Public Methods:
 *
 *	MapStrings::Count()
 *		Returns the number of initial substrings found in the
 *		MapStrings.
 *
 *	MapStrings::Dump()
 *		Print out the strings on the standard output.
 *
 *	MapStrings::Get( int n )
 *		Gets the n'th string (starting at 0) from the MapStrings.
 */

class VarArray;
class MapHalf;

class MapStrings {

    public:
			MapStrings();
			~MapStrings();

	void		Add( MapHalf *mapHalf, int hasSubDirs );
	int 		Count();
	void		Dump();
	void		Get( int n, StrRef &string, int &hasSubDirs );

    private:

	VarArray	*strs;
} ;

# Change User Description Committed
#2 15902 Matt Attaway A second renaming that I will not obliterate as a badge of shame
#1 15901 Matt Attaway Clean up code to fit modern Workshop naming standards
//guest/perforce_software/p4/2014.1/dbsupp/mapstring.h
#1 12188 Matt Attaway Move 'main' p4 into a release specific directory in prep for new releases
//guest/perforce_software/p4/dbsupp/mapstring.h
#1 9129 Matt Attaway Initial commit of the 2014.1 p4/p4api source code