1 /*---------------------------------------------------------------------------*
2   Project:  NintendoWare
3   File:     snd_GroupFile.cpp
4 
5   Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain proprietary
8   information of Nintendo and/or its licensed developers and are protected by
9   national and international copyright laws. They may not be disclosed to third
10   parties or copied or duplicated in any form, in whole or in part, without the
11   prior written consent of Nintendo.
12 
13   The content herein is highly confidential and should be handled accordingly.
14 
15   $Revision: 31311 $
16  *---------------------------------------------------------------------------*/
17 
18 #include "precompiled.h"
19 
20 #include <nw/snd/snd_GroupFile.h>
21 #include <nw/snd/snd_ElementType.h>
22 
23 namespace nw {
24 namespace snd {
25 namespace internal {
26 
27 //
28 // GroupFile::FileHeader
29 //
GetInfoBlock() const30 const GroupFile::InfoBlock* GroupFile::FileHeader::GetInfoBlock() const
31 {
32     return static_cast<const InfoBlock*>( GetBlock( ElementType_GroupFile_InfoBlock ) );
33 }
GetFileBlock() const34 const GroupFile::FileBlock* GroupFile::FileHeader::GetFileBlock() const
35 {
36     return static_cast<const FileBlock*>( GetBlock( ElementType_GroupFile_FileBlock ) );
37 }
GetInfoExBlock() const38 const GroupFile::InfoExBlock* GroupFile::FileHeader::GetInfoExBlock() const
39 {
40     return static_cast<const InfoExBlock*>( GetBlock( ElementType_GroupFile_InfoExBlock ) );
41 }
42 
43 } // namespace nw::snd::internal
44 } // namespace nw::snd
45 } // namespace nw
46 
47